LDAPAuthenticationCmdImpl
instead.public class WMMAuthenticationCmdImpl extends TaskCommandImpl implements WMMAuthenticationCmd
Before executing this task command the following sets should be performed:
setLogonId setPassword
To determine whether the authentication was successful a call should
be made to isValidCredentials
.
The setUpdateFlag
does not change the functionality of this command.
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ERRTASK_NAME
Deprecated.
Error task name.
|
COPYRIGHT, defaultCommandClassName, NAME
Constructor and Description |
---|
WMMAuthenticationCmdImpl()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAuthenticateUserId()
Deprecated.
Retrieve the logon ID under which the current user wishes to logon.
|
TypedProperty |
getRequestProperties()
Deprecated.
since v6. This method has no replacement. It should not be called.
|
boolean |
isLogonIdValid()
Deprecated.
Gets a boolean result flag will be set to indicate if the logon id supplied
was correct.
|
boolean |
isUpdatePending()
Deprecated.
Indicates whether the password should be verified against an existing
one in the database or if the password should be updated in the database.
|
boolean |
isValidCredentials()
Deprecated.
Gets a boolean flag indicating if the authentication was successful.
|
void |
performExecute()
Deprecated.
Authenticates the user against LDAP using the logonId and password.
|
void |
setLogonId(java.lang.String strLogonId)
Deprecated.
Sets the logon ID under which the current user wishes to logon.
|
void |
setPassword(java.lang.String strPassword)
Deprecated.
Sets the password to be used for authentication with the
new logon ID.
|
void |
setUpdateFlag()
Deprecated.
This command always performs authentication, so this method is not used.
|
void |
validateParameters()
Deprecated.
Validates the parameters.
|
accessControlCheck, checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getObjectSize, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, isReadyToCallExecute, reset, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties
executeFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, setObjectSize, unionDependencies, updateCache
getCommandTarget, getCommandTargetName, getTargetPolicy, hasOutputProperties, setCommandTarget, setCommandTargetName, setHasOutputProperties, setOutputProperties, setTargetPolicy
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
executeFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, updateCache
getCommandTarget, getCommandTargetName, hasOutputProperties, setCommandTarget, setCommandTargetName, setOutputProperties
checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties
public static final java.lang.String ERRTASK_NAME
public java.lang.String getAuthenticateUserId()
getAuthenticateUserId
in interface WMMAuthenticationCmd
public TypedProperty getRequestProperties() throws ECException
ECException
public boolean isLogonIdValid()
isLogonIdValid
in interface WMMAuthenticationCmd
public boolean isUpdatePending()
public boolean isValidCredentials()
isValidCredentials
in interface WMMAuthenticationCmd
public void performExecute() throws ECException
performExecute
in interface ECCommand
performExecute
in interface com.ibm.websphere.command.TargetableCommand
performExecute
in class AbstractECTargetableCommand
ECException
- ECSystemException is raisedpublic void setLogonId(java.lang.String strLogonId)
setLogonId
in interface WMMAuthenticationCmd
strLogonId
- The login ID.public void setPassword(java.lang.String strPassword)
setPassword
in interface WMMAuthenticationCmd
strPassword
- The password.public void setUpdateFlag()
setUpdateFlag
in interface WMMAuthenticationCmd
public void validateParameters() throws ECException
validateParameters
in interface ECCommand
validateParameters
in class AbstractECTargetableCommand
ECException