public class PasswordPolicyControl extends Object implements Control
Based on the information in the corresponding internet draft on LDAP password policy
PasswordPolicyResponseControl
,
Serialized FormModifier and Type | Field and Description |
---|---|
static String |
OID
OID of the Password Policy Control
|
CRITICAL, NONCRITICAL
Constructor and Description |
---|
PasswordPolicyControl()
Creates a non-critical (request) control.
|
PasswordPolicyControl(boolean critical)
Creates a (request) control.
|
Modifier and Type | Method and Description |
---|---|
byte[] |
getEncodedValue()
Retrieves the ASN.1 BER encoded value of the LDAP control.
|
String |
getID()
Returns the OID of the Password Policy Control ("1.3.6.1.4.1.42.2.27.8.5.1").
|
boolean |
isCritical()
Returns whether the control is critical for the client.
|
public static final String OID
public PasswordPolicyControl()
public PasswordPolicyControl(boolean critical)
critical
- indicates whether the control is critical for the clientpublic byte[] getEncodedValue()
getEncodedValue
in interface Control
public String getID()
public boolean isCritical()
isCritical
in interface Control