java.lang.Object | ||
↳ | org.springframework.security.ldap.ppolicy.PasswordPolicyControl | |
↳ | org.springframework.security.ldap.ppolicy.PasswordPolicyResponseControl |
Represents the response control received when a PasswordPolicyControl is used when binding to a directory. Currently tested with the OpenLDAP 2.3.19 implementation of the LDAP Password Policy Draft. It extends the request control with the control specific data. This is accomplished by the properties timeBeforeExpiration, graceLoginsRemaining.
[Expand]
Inherited Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
org.springframework.security.ldap.ppolicy.PasswordPolicyControl
| |||||||||||
From interface
javax.naming.ldap.Control
|
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Decodes the Ber encoded control data.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Returns the unchanged value of the response control.
| |||||||||||
Returns the graceLoginsRemaining.
| |||||||||||
Returns the timeBeforeExpiration.
| |||||||||||
Checks whether an error is present.
| |||||||||||
Checks whether a warning is present.
| |||||||||||
Determines whether an account locked error has been returned.
| |||||||||||
Create a textual representation containing error and warning messages, if any are present.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
org.springframework.security.ldap.ppolicy.PasswordPolicyControl
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
javax.naming.ldap.Control
|
Decodes the Ber encoded control data. The ASN.1 value of the control data is:
PasswordPolicyResponseValue ::= SEQUENCE { warning [0] CHOICE { timeBeforeExpiration [0] INTEGER (0 .. maxInt), graceAuthNsRemaining [1] INTEGER (0 .. maxInt) } OPTIONAL, error [1] ENUMERATED { passwordExpired (0), accountLocked (1), changeAfterReset (2), passwordModNotAllowed (3), mustSupplyOldPassword (4), insufficientPasswordQuality (5), passwordTooShort (6), passwordTooYoung (7), passwordInHistory (8) } OPTIONAL }
Returns the unchanged value of the response control. Returns the unchanged value of the response control as byte array.
Returns the graceLoginsRemaining.
Returns the timeBeforeExpiration.
Checks whether an error is present.
Checks whether a warning is present.
Determines whether an account locked error has been returned.
Create a textual representation containing error and warning messages, if any are present.