public class PasswordPolicyControl
extends java.lang.Object
implements javax.naming.ldap.Control
Based on the information in the corresponding internet draft on LDAP password policy
PasswordPolicyResponseControl
,
Serialized FormModifier and Type | Field and Description |
---|---|
static java.lang.String |
OID
OID of the Password Policy Control
|
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.
|
java.lang.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 java.lang.String OID
public PasswordPolicyControl()
public PasswordPolicyControl(boolean critical)
critical
- indicates whether the control is critical for the clientpublic byte[] getEncodedValue()
getEncodedValue
in interface javax.naming.ldap.Control
public java.lang.String getID()
getID
in interface javax.naming.ldap.Control
public boolean isCritical()
isCritical
in interface javax.naming.ldap.Control