Class PasswordPolicyContainer
- java.lang.Object
-
- org.apache.directory.api.asn1.ber.AbstractContainer
-
- org.apache.directory.api.ldap.extras.controls.ppolicy_impl.PasswordPolicyContainer
-
- All Implemented Interfaces:
Asn1Container
public class PasswordPolicyContainer extends AbstractContainer
container for PasswordPolicyResponseControl.- Author:
- Apache Directory Project
-
-
Constructor Summary
Constructors Constructor Description PasswordPolicyContainer(LdapApiService codec)
Creates a new StoredProcedureContainer instancePasswordPolicyContainer(LdapApiService codec, PasswordPolicy ppolicyResponse)
Creates a new StoredProcedureContainer instance
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
clean()
clean the containerPasswordPolicyDecorator
getPasswordPolicyResponseControl()
void
setPasswordPolicyResponseControl(PasswordPolicyDecorator control)
Sets the password policy control-
Methods inherited from class org.apache.directory.api.asn1.ber.AbstractContainer
getCurrentTLV, getDecodedBytes, getGrammar, getMaxPDUSize, getNewTlvId, getParentTLV, getState, getStream, getTlvId, getTransition, incrementDecodedBytes, isGathering, isGrammarEndAllowed, rewind, setCurrentTLV, setDecodedBytes, setGathering, setGrammar, setGrammarEndAllowed, setMaxPDUSize, setParentTLV, setState, setStream, setTransition, updateParent
-
-
-
-
Constructor Detail
-
PasswordPolicyContainer
public PasswordPolicyContainer(LdapApiService codec)
Creates a new StoredProcedureContainer instance- Parameters:
codec
- The LDAP Service to use
-
PasswordPolicyContainer
public PasswordPolicyContainer(LdapApiService codec, PasswordPolicy ppolicyResponse)
Creates a new StoredProcedureContainer instance- Parameters:
codec
- The LDAP Service to useppolicyResponse
- The PasswordPolicy response
-
-
Method Detail
-
getPasswordPolicyResponseControl
public PasswordPolicyDecorator getPasswordPolicyResponseControl()
- Returns:
- The decorated PasswordPolicy control
-
setPasswordPolicyResponseControl
public void setPasswordPolicyResponseControl(PasswordPolicyDecorator control)
Sets the password policy control- Parameters:
control
- The decorated PasswordPolicy control
-
clean
public void clean()
clean the container- Overrides:
clean
in classAbstractContainer
-
-