Class PasswordExpiredControl

All Implemented Interfaces:
Control, ResponseControl, Freezable

public class PasswordExpiredControl extends AbstractResponseControl
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"
 
  • Field Details

  • Constructor Details

    • PasswordExpiredControl

      public PasswordExpiredControl()
      Default constructor.
    • PasswordExpiredControl

      public PasswordExpiredControl(boolean critical)
      Creates a new password expired control.
      Parameters:
      critical - whether this control is critical
  • Method Details

    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class AbstractControl
    • hashCode

      public int hashCode()
      Description copied from class: AbstractControl
      Returns the hash code for this object.
      Specified by:
      hashCode in class AbstractControl
      Returns:
      hash code
    • decode

      public void decode(DERBuffer encoded)
      Description copied from interface: ResponseControl
      Initializes this response control with the supplied BER encoded data.
      Parameters:
      encoded - BER encoded response control