Class LdapPasswordExpiredControl
java.lang.Object
netscape.ldap.LDAPControl
netscape.ldap.controls.LDAPStringControl
netscape.ldap.controls.LDAPPasswordExpiredControl
com.netscape.jndi.ldap.controls.LdapPasswordExpiredControl
- All Implemented Interfaces:
Serializable, Cloneable, Control
Represents an LDAP v3 server control that may be returned if a
password has expired, and password policy is enabled on the server.
The OID for this control is 2.16.840.1.113730.3.4.4.
- See Also:
-
Field Summary
Fields inherited from class LDAPPasswordExpiredControl
EXPIREDFields inherited from class LDAPStringControl
m_msgFields inherited from class LDAPControl
m_critical, m_value, MANAGEDSAIT, PWEXPIRED, PWEXPIRINGFields inherited from interface Control
CRITICAL, NONCRITICAL -
Constructor Summary
ConstructorsConstructorDescriptionLdapPasswordExpiredControl(boolean critical, byte[] value) This constractor is used by the NetscapeControlFactory -
Method Summary
Modifier and TypeMethodDescriptionbyte[]Retrieves the ASN.1 BER encoded value of the LDAP control.Return string message passed in the controlMethods inherited from class LDAPPasswordExpiredControl
parseResponse, toStringMethods inherited from class LDAPStringControl
parseResponseMethods inherited from class LDAPControl
clone, createControl, flattenBER, getID, getValue, isCritical, lookupControlClass, newInstance, registerMethods inherited from class Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface Control
getID, isCritical
-
Constructor Details
-
LdapPasswordExpiredControl
-
-
Method Details
-
getMessage
Return string message passed in the control- Overrides:
getMessagein classLDAPPasswordExpiredControl- Returns:
- message string
-
getEncodedValue
public byte[] getEncodedValue()Retrieves the ASN.1 BER encoded value of the LDAP control. Null is returned if the value is absent.- Specified by:
getEncodedValuein interfaceControl- Returns:
- A possibly null byte array representing the ASN.1 BER encoded value of the LDAP control.
-