Package org.apache.directory.shared.ldap.extras.controls

Examples of org.apache.directory.shared.ldap.extras.controls.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.shared.ldap.extras.controls.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.