com.ibm.commerce.security.commands

Class AccountLockoutPolicyCmdImpl

  • All Implemented Interfaces:
    com.ibm.commerce.command.CacheableECCommand, ECCommand, ECTargetableCommand, TaskCommand, AccountLockoutPolicyCmd, com.ibm.websphere.cache.Sizeable, com.ibm.websphere.command.CacheableCommand, com.ibm.websphere.command.Command, com.ibm.websphere.command.CommandCaller, com.ibm.websphere.command.TargetableCommand, java.io.Serializable


    public class AccountLockoutPolicyCmdImpl
    extends TaskCommandImpl
    implements AccountLockoutPolicyCmd

    This task command is called by every command that performs verification or update of a user credentials. This implementation updates the account lockout information.

    Before executing this task command the following sets should be performed:

                    setLogonId
                    setAuthenticationStatus
     
    See Also:
    Serialized Form
    • Constructor Detail

      • AccountLockoutPolicyCmdImpl

        public AccountLockoutPolicyCmdImpl()
    • Method Detail

      • reset

        public void reset()
        Description copied from class: AbstractECTargetableCommand
        This method is called after a command has been executed. It is used to reset its states variables. After the call to reset, the command should be able to be executed again.
        Specified by:
        reset in interface com.ibm.websphere.command.Command
        Overrides:
        reset in class AbstractECTargetableCommand
        See Also:
        Command.reset()
      • setAuthenticationStatus

        public void setAuthenticationStatus(boolean credentials)
        sets authentication result, true when user provided valid credentials false otherwise
        Specified by:
        setAuthenticationStatus in interface AccountLockoutPolicyCmd
        Parameters:
        credentials - boolean
      • setLogonId

        public void setLogonId(java.lang.String strLogonId)
        Sets the Logon ID under which the current user wishes to logon.
        Specified by:
        setLogonId in interface AccountLockoutPolicyCmd
        Parameters:
        strLogonId - The Login ID.
      • getLogonId

        public java.lang.String getLogonId()
        Returns the logonId. This method can be included in the cachespec.xml configuration file.
        Returns:
        the logonId
      • isUserDataModified

        public boolean isUserDataModified()
        Indicates whether performExecute modified the user data. This method can be included in the cachespec.xml configuration file.
        Returns:
        true if the user data was modified.