Class PasswordPolicyControlFactory
java.lang.Object
javax.naming.ldap.ControlFactory
org.springframework.security.ldap.ppolicy.PasswordPolicyControlFactory
Transforms a control object to a PasswordPolicyResponseControl object, if appropriate.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionCreates an instance of PasswordPolicyResponseControl if the passed control is a response control of this type.Methods inherited from class javax.naming.ldap.ControlFactory
getControlInstance
-
Constructor Details
-
PasswordPolicyControlFactory
public PasswordPolicyControlFactory()
-
-
Method Details
-
getControlInstance
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).- Specified by:
getControlInstance
in classControlFactory
- Parameters:
ctl
- the control the check- Returns:
- a response control of type PasswordPolicyResponseControl, or null
-