com.ibm.commerce.security.commands
Class AccountLockoutPolicyCmdImpl

java.lang.Object
  |
  +--CacheableCommandImpl
        |
        +--com.ibm.commerce.command.AbstractECTargetableCommand
              |
              +--com.ibm.commerce.command.TaskCommandImpl
                    |
                    +--com.ibm.commerce.security.commands.AccountLockoutPolicyCmdImpl
All Implemented Interfaces:
AccountLockoutPolicyCmd, ECCommand, ECTargetableCommand, TaskCommand

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

Field Summary
 
Fields inherited from class com.ibm.commerce.command. AbstractECTargetableCommand
commandContext
 
Fields inherited from interface com.ibm.commerce.security.commands. AccountLockoutPolicyCmd
COPYRIGHT, defaultCommandClassName, NAME
 
Fields inherited from interface com.ibm.commerce.command. ECTargetableCommand
COPYRIGHT
 
Fields inherited from interface com.ibm.commerce.command. ECCommand
defaultCommandClassName
 
Constructor Summary
AccountLockoutPolicyCmdImpl()
           
 
Method Summary
 void performExecute()
          Update the account lockout information for a given user.
 void setAuthenticationStatus(boolean credentials)
          sets authentication result, true when user provided valid credentials false otherwise
 void setLogonId(java.lang.String strLogonId)
          Sets the Logon ID under which the current user wishes to logon.
 
Methods inherited from class com.ibm.commerce.command. AbstractECTargetableCommand
accessControlCheck, checkIsAllowed, checkParameters, checkResourcePermission, createCommandExecutionEvent, execute, finalize, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getResources, getStoreId, getUser, getUserId, isReadyToCallExecute, reset, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameters
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AccountLockoutPolicyCmdImpl

public AccountLockoutPolicyCmdImpl()
Method Detail

performExecute

public void performExecute()
                    throws ECException
Update the account lockout information for a given user.
Specified by:
performExecute in interface ECCommand
Overrides:
performExecute in class AbstractECTargetableCommand
Throws:
ECException

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