Class 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"
     
    • 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()
        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.
        Specified by:
        decode in interface ResponseControl
        Parameters:
        encoded - BER encoded response control