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 int
hash code seed.static final String
OID 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, toString
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods 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:
equals
in classAbstractControl
-
hashCode
public int hashCode()Description copied from class:AbstractControl
Returns the hash code for this object.- Specified by:
hashCode
in classAbstractControl
- Returns:
- hash code
-
decode
Description copied from interface:ResponseControl
Initializes this response control with the supplied BER encoded data.- Specified by:
decode
in interfaceResponseControl
- Parameters:
encoded
- BER encoded response control
-