Skip navigation links

Oracle® Fusion Middleware Java API Reference for Oracle Unified Directory
11g Release 2 (11.1.2.2.0)

E38583-02


oracle.oud.controls
Interface PasswordPolicyResponseControl

All Superinterfaces:
Control

public interface PasswordPolicyResponseControl
extends Control

The password policy response control as defined in draft-behera-ldap-password-policy.

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).

See Also:
PasswordPolicyRequestControl, PasswordPolicyWarningType, PasswordPolicyErrorType, draft-behera-ldap-password-policy - Password Policy for LDAP Directories

Field Summary
static ControlDecoder<PasswordPolicyResponseControl> DECODER
          A decoder which can be used for decoding the password policy response control.

 

Method Summary
 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.

 

Methods inherited from interface oracle.oud.controls.Control
getAPIValue, getOID, hasValue, isCritical

 

Field Detail

DECODER

static final ControlDecoder<PasswordPolicyResponseControl> DECODER
A decoder which can be used for decoding the password policy response control.

Method Detail

getErrorType

PasswordPolicyErrorType getErrorType()
Returns the password policy error type, if available.
Returns:
The password policy error type, or null if this control does not contain a error.

getWarningType

PasswordPolicyWarningType getWarningType()
Returns the password policy warning type, if available.
Returns:
The password policy warning type, or null if this control does not contain a warning.

getWarningValue

int getWarningValue()
Returns the password policy warning value, if available. The value is undefined if this control does not contain a warning.
Returns:
The password policy warning value, or -1 if this control does not contain a warning.

Skip navigation links

Oracle® Fusion Middleware Java API Reference for Oracle Unified Directory
11g Release 2 (11.1.2.2.0)

E38583-02


Copyright © 2013, Oracle and/or its affiliates. All rights reserved.