Interface PwPolicyControl

  • public interface PwPolicyControl
    Interface is used to allow pluggable password policy interrogation.
    Apache Directory Project
    • Method Detail

      • checkPasswordPolicy

        void checkPasswordPolicy​(Object[] controls,
                                 boolean isAuthenticated,
                                 PwMessage pwMsg)
        Check the password policy controls returned from server and sets the PwMessage with what it finds.
        controls - ldap controls object.
        isAuthenticated - set to 'true' if password checks pass.
        pwMsg - describes the outcome of the policy checks.