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
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 |
AccountLockoutPolicyCmdImpl
public AccountLockoutPolicyCmdImpl()
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