public interface PasswordPolicy extends Control
Control
interface.Modifier and Type | Field and Description |
---|---|
static String |
OID
the password policy request control
|
Modifier and Type | Method and Description |
---|---|
PasswordPolicyResponse |
getResponse()
Get's the response component of this control if this control carries a
response.
|
boolean |
hasResponse()
Checks whether this Control is the password policy request or the response
by carrying with it an IPasswordPolicyResponse object.
|
PasswordPolicyResponse |
setResponse(boolean hasResponse)
If true sets the response to a default newly initialized response object.
|
void |
setResponse(PasswordPolicyResponse response)
Sets the response.
|
getOid, isCritical, setCritical
static final String OID
boolean hasResponse()
void setResponse(PasswordPolicyResponse response)
response
- a valid response object, or null to make this a requestPasswordPolicyResponse setResponse(boolean hasResponse)
hasResponse
- true to create default response, false to clear itPasswordPolicyResponse getResponse()
hasResponse()
returns true, this will return a non-null
policy response object.hasResponse()
returns falseCopyright © 2003-2014 The Apache Software Foundation. All Rights Reserved.