org.ldaptive.control
Class PasswordExpiredControl

java.lang.Object
  extended by org.ldaptive.control.AbstractControl
      extended by org.ldaptive.control.PasswordExpiredControl
All Implemented Interfaces:
Control, ResponseControl

public class PasswordExpiredControl
extends AbstractControl
implements 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"
 

Version:
$Revision: 2885 $ $Date: 2014-02-05 16:28:49 -0500 (Wed, 05 Feb 2014) $
Author:
Middleware Services

Field Summary
static String OID
          OID of this control.
 
Fields inherited from class org.ldaptive.control.AbstractControl
logger
 
Constructor Summary
PasswordExpiredControl()
          Default constructor.
PasswordExpiredControl(boolean critical)
          Creates a new password expired control.
 
Method Summary
 void decode(byte[] berValue)
          Initializes this response control with the supplied BER encoded data.
 int hashCode()
          Returns the hash code for this object.
 String toString()
          
 
Methods inherited from class org.ldaptive.control.AbstractControl
equals, getCriticality, getOID
 
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 Detail

OID

public static final String OID
OID of this control.

See Also:
Constant Field Values
Constructor Detail

PasswordExpiredControl

public PasswordExpiredControl()
Default constructor.


PasswordExpiredControl

public PasswordExpiredControl(boolean critical)
Creates a new password expired control.

Parameters:
critical - whether this control is critical
Method Detail

hashCode

public int hashCode()
Returns the hash code for this object.

Specified by:
hashCode in class AbstractControl
Returns:
hash code

toString

public String toString()

Overrides:
toString in class Object

decode

public void decode(byte[] berValue)
Initializes this response control with the supplied BER encoded data.

Specified by:
decode in interface ResponseControl
Parameters:
berValue - BER encoded response control


Copyright © 2003-2015 Virginia Tech. All Rights Reserved.