public class LdapPasswordExpiringControl
extends netscape.ldap.controls.LDAPPasswordExpiringControl
implements javax.naming.ldap.Control
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String |
m_msg |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
getEncodedValue()
Retrieves the ASN.1 BER encoded value of the LDAP control.
|
int |
getSecondsToExipre()
Return parsed number of seconds before password expires
|
static java.lang.String |
parseResponse(netscape.ldap.LDAPControl[] controls,
java.lang.String type)
Parses a response control sent by the server and
retrieves a string.
|
getMessage, getSecondsToExpiration, parseResponse, toStringclone, createControl, flattenBER, getID, getValue, isCritical, lookupControlClass, newInstance, registerpublic int getSecondsToExipre()
public byte[] getEncodedValue()
getEncodedValue in interface javax.naming.ldap.Controlpublic static java.lang.String parseResponse(netscape.ldap.LDAPControl[] controls,
java.lang.String type)
You can get the controls returned by the server by using the
getResponseControls method of the
LDAPConnection class.
controls - an array of LDAPControl objects,
representing the controls returned by the server
after a search. To get these controls, use the
getResponseControls method of the
LDAPConnection class.type - the OID of the control to look forLDAPConnection.getResponseControls()