Class PasswordPolicyControl
java.lang.Object
org.springframework.security.ldap.ppolicy.PasswordPolicyControl
- All Implemented Interfaces:
- Serializable,- Control
- Direct Known Subclasses:
- PasswordPolicyResponseControl
A Password Policy request control.
 
Based on the information in the corresponding internet draft on LDAP password policy
- See Also:
- 
Field SummaryFieldsFields inherited from interface javax.naming.ldap.ControlCRITICAL, NONCRITICAL
- 
Constructor SummaryConstructorsConstructorDescriptionCreates a non-critical (request) control.PasswordPolicyControl(boolean critical) Creates a (request) control.
- 
Method SummaryModifier and TypeMethodDescriptionbyte[]Retrieves the ASN.1 BER encoded value of the LDAP control.getID()Returns the OID of the Password Policy Control ("1.3.6.1.4.1.42.2.27.8.5.1").booleanReturns whether the control is critical for the client.
- 
Field Details- 
OIDOID of the Password Policy Control- See Also:
 
 
- 
- 
Constructor Details- 
PasswordPolicyControlpublic PasswordPolicyControl()Creates a non-critical (request) control.
- 
PasswordPolicyControlpublic PasswordPolicyControl(boolean critical) Creates a (request) control.- Parameters:
- critical- indicates whether the control is critical for the client
 
 
- 
- 
Method Details- 
getEncodedValuepublic byte[] getEncodedValue()Retrieves the ASN.1 BER encoded value of the LDAP control. The request value for this control is always empty.- Specified by:
- getEncodedValuein interface- Control
- Returns:
- always null
 
- 
getIDReturns the OID of the Password Policy Control ("1.3.6.1.4.1.42.2.27.8.5.1").
- 
isCriticalpublic boolean isCritical()Returns whether the control is critical for the client.- Specified by:
- isCriticalin interface- Control
 
 
-