Package org.apache.directory.api.ldap.extras.controls.ppolicy

Examples of org.apache.directory.api.ldap.extras.controls.ppolicy.PasswordPolicyErrorEnum


    @Override
    protected void setIntegerValue( int value, Asn1Container container )
    {
        PasswordPolicyContainer ppolicyContainer = ( PasswordPolicyContainer ) container;

        PasswordPolicyErrorEnum error = PasswordPolicyErrorEnum.get( value );
        ppolicyContainer.getPasswordPolicyResponseControl().getResponse().setPasswordPolicyError( error );

        ppolicyContainer.setGrammarEndAllowed( true );
    }
View Full Code Here


    @Override
    protected void setIntegerValue( int value, Asn1Container container )
    {
        PasswordPolicyContainer ppolicyContainer = ( PasswordPolicyContainer ) container;

        PasswordPolicyErrorEnum error = PasswordPolicyErrorEnum.get( value );
        ppolicyContainer.getPasswordPolicyResponseControl().getResponse().setPasswordPolicyError( error );

        ppolicyContainer.setGrammarEndAllowed( true );
    }
View Full Code Here

TOP

Related Classes of org.apache.directory.api.ldap.extras.controls.ppolicy.PasswordPolicyErrorEnum

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.