Package org.ldaptive.control
Class PasswordExpiredControl
java.lang.Object
org.ldaptive.control.AbstractControl
org.ldaptive.control.PasswordExpiredControl
- All Implemented Interfaces:
Control,ResponseControl
Response control indicating an expired password. See http://tools.ietf.org/html/draft-vchu-ldap-pwd-policy-00.
Control is defined as:
controlValue ::= OCTET STRING -- always "0"
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final inthash code seed.static final StringOID of this control.Fields inherited from class org.ldaptive.control.AbstractControl
logger -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor.PasswordExpiredControl(boolean critical) Creates a new password expired control. -
Method Summary
Methods inherited from class org.ldaptive.control.AbstractControl
getCriticality, getOID, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.ldaptive.control.Control
getCriticality, getOID
-
Field Details
-
OID
OID of this control.- See Also:
-
HASH_CODE_SEED
private static final int HASH_CODE_SEEDhash code seed.- See Also:
-
-
Constructor Details
-
PasswordExpiredControl
public PasswordExpiredControl()Default constructor. -
PasswordExpiredControl
public PasswordExpiredControl(boolean critical) Creates a new password expired control.- Parameters:
critical- whether this control is critical
-
-
Method Details
-
equals
- Overrides:
equalsin classAbstractControl
-
hashCode
public int hashCode()Description copied from class:AbstractControlReturns the hash code for this object.- Specified by:
hashCodein classAbstractControl- Returns:
- hash code
-
decode
Description copied from interface:ResponseControlInitializes this response control with the supplied BER encoded data.- Specified by:
decodein interfaceResponseControl- Parameters:
encoded- BER encoded response control
-