com.ibm.commerce.security.commands
Class AccountLockoutPolicyCmdImpl

java.lang.Object
  |
  +--com.ibm.commerce.command.AbstractECCommand
        |
        +--com.ibm.commerce.command.TaskCommandImpl
              |
              +--com.ibm.commerce.security.commands.AccountLockoutPolicyCmdImpl
All Implemented Interfaces:
AccountLockoutPolicyCmd, ECCommand, 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
 


Fields inherited from class com.ibm.commerce.command.AbstractECCommand
commandContext
 
Fields inherited from interface com.ibm.commerce.security.commands.AccountLockoutPolicyCmd
COPYRIGHT, defaultCommandClassName, NAME
 
Constructor Summary
AccountLockoutPolicyCmdImpl()
           
 
Method Summary
 void performExecute()
          Contains the actual business logic of the command It should be implemented by all the command writer.
 void setAuthenticationStatus(boolean credentials)
          sets authentication result, true when user provided valid credentials false otherwise Creation date: (13/07/2001 11:56:24 AM)
 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.AbstractECCommand
accessControlCheck, checkIsAllowed, checkResourcePermission, execute, finalize, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getDefaultProperties, getResources, getStoreId, getUser, getUserId, isReadyToCallExecute, reset, setAccCheck, setCommandContext, setCommandIfName, setDefaultProperties, validateParameters
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.ibm.commerce.command.ECCommand
checkIsAllowed, checkResourcePermission, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getDefaultProperties, getResources, getStoreId, getUser, getUserId, setAccCheck, setCommandContext, setCommandIfName, setDefaultProperties, validateParameters
 

Constructor Detail

AccountLockoutPolicyCmdImpl

public AccountLockoutPolicyCmdImpl()
Method Detail

performExecute

public void performExecute()
                    throws ECException
Description copied from interface: ECCommand
Contains the actual business logic of the command It should be implemented by all the command writer.
Specified by:
performExecute in interface ECCommand
Overrides:
performExecute in class AbstractECCommand
Following copied from interface: com.ibm.commerce.command.ECCommand
Throws:
com.ibm.commerce.command.CommandException - The superclass for all ECExceptions.

setAuthenticationStatus

public void setAuthenticationStatus(boolean credentials)
sets authentication result, true when user provided valid credentials false otherwise Creation date: (13/07/2001 11:56:24 AM)
Specified by:
setAuthenticationStatus in interface AccountLockoutPolicyCmd
Parameters:
valid_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.