Interface PasswordExpiredResponse

All Superinterfaces:
org.apache.directory.api.ldap.model.message.Control
All Known Implementing Classes:
PasswordExpiredResponseImpl

public interface PasswordExpiredResponse extends org.apache.directory.api.ldap.model.message.Control
The PasswordPolicy expired response control, as defined by
controlType:  2.16.840.1.113730.3.4.5,

controlValue: an octet string to indicate the time in seconds until
      the password expires.

criticality:  false
Version:
$Rev$, $Date$
Author:
Apache Directory Project
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
    This control OID
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Returns the time in seconds before the password expires.

    Methods inherited from interface org.apache.directory.api.ldap.model.message.Control

    getOid, isCritical, setCritical
  • Field Details

  • Method Details

    • getTimeBeforeExpiration

      int getTimeBeforeExpiration()
      Returns the time in seconds before the password expires. Default to 0
      Returns:
      The time before expiration of the password