Package com.netscape.jndi.ldap.controls
Class LdapPasswordExpiredControl
- java.lang.Object
-
- netscape.ldap.LDAPControl
-
- netscape.ldap.controls.LDAPPasswordExpiredControl
-
- com.netscape.jndi.ldap.controls.LdapPasswordExpiredControl
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Cloneable
,javax.naming.ldap.Control
public class LdapPasswordExpiredControl extends netscape.ldap.controls.LDAPPasswordExpiredControl implements javax.naming.ldap.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:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.String
m_msg
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]
getEncodedValue()
Retrieves the ASN.1 BER encoded value of the LDAP control.java.lang.String
getMessage()
Return string message passed in the controlstatic java.lang.String
parseResponse(netscape.ldap.LDAPControl[] arg0, java.lang.String arg1)
-
Methods inherited from class netscape.ldap.controls.LDAPPasswordExpiredControl
parseResponse, toString
-
Methods inherited from class netscape.ldap.LDAPControl
clone, createControl, flattenBER, getID, getValue, isCritical, lookupControlClass, newInstance, register
-
-
-
-
Method Detail
-
getMessage
public java.lang.String getMessage()
Return string message passed in the control- Overrides:
getMessage
in classnetscape.ldap.controls.LDAPPasswordExpiredControl
- 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:
getEncodedValue
in interfacejavax.naming.ldap.Control
- Returns:
- A possibly null byte array representing the ASN.1 BER encoded value of the LDAP control.
-
parseResponse
public static java.lang.String parseResponse(netscape.ldap.LDAPControl[] arg0, java.lang.String arg1)
-
-