Interface AuthenticationPolicyCmd

  • All Superinterfaces:,,,, ECCommand,,, TaskCommand
    All Known Implementing Classes:

    public interface AuthenticationPolicyCmd
    extends TaskCommand

    This task command is called by every command that verifies or updates user credentials. This command can be used to enforce policies such as minimum password length.

    Before executing this task command, the methods listed below must be invoked.

    • setLogonID
    • setPassword
    • Field Detail


        static final java.lang.String COPYRIGHT
        The Copyright field.
        See Also:
        Constant Field Values
      • defaultCommandClassName

        static final java.lang.String defaultCommandClassName
        The default command implementation class.
        See Also:
        Constant Field Values
    • Method Detail

      • isPasswordCompliant

        boolean isPasswordCompliant()
        After this command task is executed, a boolean result flag is set to indicate if the password complies with the user's password policy. This function returns a boolean flag to indicate if the password complies with the policy.
        True, if authentication was successful.
      • setAccountPolicy

        void setAccountPolicy(java.lang.String strDefinedAccountPolicy)
        This method sets the account policy used to check this password. This overrides the default account policy for the user.
        strDefinedAccountPolicy - The account policy.
      • setErrorTask

        void setErrorTask(java.lang.String strErrorTask)
        This function allows the default error view task of the command to be overwritten.
        strErrorTask - The name of the new error view task.
      • setLogonId

        void setLogonId(java.lang.String strLogonId)
        This method sets the logon ID under which the current user wishes to logon.
        strLogonId - The login ID.
      • setPassword

        void setPassword(java.lang.String strPassword)
        This method sets the password to be used for authentication with the new logon ID.
        strPassword - The password.