org.springframework.security.ldap.ppolicy
Class PasswordPolicyControlFactory
java.lang.Object
javax.naming.ldap.ControlFactory
org.springframework.security.ldap.ppolicy.PasswordPolicyControlFactory
public class PasswordPolicyControlFactory
- extends ControlFactory
Transforms a control object to a PasswordPolicyResponseControl object, if appropriate.
- Version:
- $Id$
- Author:
- Stefan Zoerner, Luke Taylor
Method Summary |
Control |
getControlInstance(Control ctl)
Creates an instance of PasswordPolicyResponseControl if the passed control is a response control of this
type. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PasswordPolicyControlFactory
public PasswordPolicyControlFactory()
getControlInstance
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).
- Specified by:
getControlInstance
in class ControlFactory
- Parameters:
ctl
- the control the check
- Returns:
- a response control of type PasswordPolicyResponseControl, or null
Copyright © 2004-2009 SpringSource, Inc. All Rights Reserved.