Class LdapPasswordExpiredControl

All Implemented Interfaces:
Serializable, Cloneable, Control

public class LdapPasswordExpiredControl extends 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:
  • Constructor Details

    • LdapPasswordExpiredControl

      LdapPasswordExpiredControl(boolean critical, byte[] value) throws Exception
      This constractor is used by the NetscapeControlFactory
      Throws:
      Exception
  • Method Details

    • getMessage

      public String getMessage()
      Return string message passed in the control
      Overrides:
      getMessage in class LDAPPasswordExpiredControl
      Returns:
      message string
    • getEncodedValue

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