public interface PasswordPolicyResponseControl extends Control
If the client has sent a passwordPolicyRequest control, the server (when solicited by the inclusion of the request control) sends this control with the following operation responses: bindResponse, modifyResponse, addResponse, compareResponse and possibly extendedResponse, to inform of various conditions, and MAY be sent with other operations (in the case of the changeAfterReset error).
Modifier and Type | Field and Description |
---|---|
static ControlDecoder<PasswordPolicyResponseControl> |
DECODER
A decoder which can be used for decoding the password policy response
control.
|
Modifier and Type | Method and Description |
---|---|
PasswordPolicyErrorType |
getErrorType()
Returns the password policy error type, if available.
|
PasswordPolicyWarningType |
getWarningType()
Returns the password policy warning type, if available.
|
int |
getWarningValue()
Returns the password policy warning value, if available.
|
getAPIValue, getDetails, getOID, hasValue, isCritical
static final ControlDecoder<PasswordPolicyResponseControl> DECODER
PasswordPolicyErrorType getErrorType()
null
if this control
does not contain a error.PasswordPolicyWarningType getWarningType()
null
if this control
does not contain a warning.int getWarningValue()
-1
if this control
does not contain a warning.