com.netscape.jndi.ldap.controls

Class LdapPasswordExpiredControl

Implemented Interfaces:
Cloneable, Control, java.io.Serializable

public class LdapPasswordExpiredControl
extends netscape.ldap.controls.LDAPPasswordExpiredControl
implements 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 inherited from class netscape.ldap.controls.LDAPPasswordExpiredControl

EXPIRED

Fields inherited from class netscape.ldap.controls.LDAPStringControl

m_msg

Fields inherited from class netscape.ldap.LDAPControl

MANAGEDSAIT, PWEXPIRED, PWEXPIRING, m_critical, m_value

Method Summary

byte[]
getEncodedValue()
Retrieves the ASN.1 BER encoded value of the LDAP control.
String
getMessage()
Return string message passed in the control

Methods inherited from class netscape.ldap.controls.LDAPPasswordExpiredControl

getMessage, parseResponse, toString

Methods inherited from class netscape.ldap.controls.LDAPStringControl

parseResponse

Methods inherited from class netscape.ldap.LDAPControl

clone, createControl, flattenBER, getID, getValue, isCritical, lookupControlClass, newInstance, register, toString

Method Details

getEncodedValue

public byte[] getEncodedValue()
Retrieves the ASN.1 BER encoded value of the LDAP control. Null is returned if the value is absent.
Returns:
A possibly null byte array representing the ASN.1 BER encoded value of the LDAP control.

getMessage

public String getMessage()
Return string message passed in the control
Overrides:
getMessage in interface netscape.ldap.controls.LDAPPasswordExpiredControl
Returns:
message string