public class

PasswordPolicyControl

extends Object
implements Control
java.lang.Object
   ↳ org.springframework.security.ldap.ppolicy.PasswordPolicyControl
Known Direct Subclasses

Class Overview

A Password Policy request control.

Based on the information in the corresponding internet draft on LDAP password policy

Summary

Constants
String OID OID of the Password Policy Control
[Expand]
Inherited Constants
From interface javax.naming.ldap.Control
Public Constructors
PasswordPolicyControl()
Creates a non-critical (request) control.
PasswordPolicyControl(boolean critical)
Creates a (request) control.
Public Methods
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.
[Expand]
Inherited Methods
From class java.lang.Object
From interface javax.naming.ldap.Control

Constants

public static final String OID

OID of the Password Policy Control

Constant Value: "1.3.6.1.4.1.42.2.27.8.5.1"

Public Constructors

public PasswordPolicyControl ()

Creates a non-critical (request) control.

public PasswordPolicyControl (boolean critical)

Creates a (request) control.

Parameters
critical indicates whether the control is critical for the client

Public Methods

public byte[] getEncodedValue ()

Retrieves the ASN.1 BER encoded value of the LDAP control. The request value for this control is always empty.

Returns
  • always null

public String getID ()

Returns the OID of the Password Policy Control ("1.3.6.1.4.1.42.2.27.8.5.1").

public boolean isCritical ()

Returns whether the control is critical for the client.