Class PasswordPolicyControlFactory


  • public class PasswordPolicyControlFactory
    extends javax.naming.ldap.ControlFactory
    Transforms a control object to a PasswordPolicyResponseControl object, if appropriate.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      javax.naming.ldap.Control getControlInstance​(javax.naming.ldap.Control ctl)
      Creates an instance of PasswordPolicyResponseControl if the passed control is a response control of this type.
      • Methods inherited from class javax.naming.ldap.ControlFactory

        getControlInstance
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • PasswordPolicyControlFactory

        public PasswordPolicyControlFactory()
    • Method Detail

      • getControlInstance

        public javax.naming.ldap.Control getControlInstance​(javax.naming.ldap.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 javax.naming.ldap.ControlFactory
        Parameters:
        ctl - the control the check
        Returns:
        a response control of type PasswordPolicyResponseControl, or null