public class

PasswordPolicyControlFactory

extends ControlFactory
java.lang.Object
   ↳ javax.naming.ldap.ControlFactory
     ↳ org.springframework.security.ldap.ppolicy.PasswordPolicyControlFactory

Class Overview

Transforms a control object to a PasswordPolicyResponseControl object, if appropriate.

Summary

Public Constructors
PasswordPolicyControlFactory()
Public Methods
Control getControlInstance(Control ctl)
Creates an instance of PasswordPolicyResponseControl if the passed control is a response control of this type.
[Expand]
Inherited Methods
From class javax.naming.ldap.ControlFactory
From class java.lang.Object

Public Constructors

public PasswordPolicyControlFactory ()

Public Methods

public Control getControlInstance (Control ctl)

Creates an instance of PasswordPolicyResponseControl if the passed control is a response control of this type. Attributes of the result are filled with the correct values (e.g. error code).

Parameters
ctl the control the check
Returns
  • a response control of type PasswordPolicyResponseControl, or null