com.ibm.commerce.security.commands

Class WMMAuthenticationCmdImpl

  • All Implemented Interfaces:
    com.ibm.commerce.command.CacheableECCommand, ECCommand, ECTargetableCommand, TaskCommand, WMMAuthenticationCmd, 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
    Direct Known Subclasses:
    LDAPAuthenticationCmdImpl

    Deprecated. 
    in version 7. Use LDAPAuthenticationCmdImpl instead.

    public class WMMAuthenticationCmdImpl
    extends TaskCommandImpl
    implements WMMAuthenticationCmd
    If the system is configured to authenticate against LDAP then this task command will be called to perform the authentication.

    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.

    See Also:
    Serialized Form
    • Field Detail

      • ERRTASK_NAME

        public static final java.lang.String ERRTASK_NAME
        Deprecated. 
        Error task name.
        See Also:
        Constant Field Values
    • Constructor Detail

      • WMMAuthenticationCmdImpl

        public WMMAuthenticationCmdImpl()
        Deprecated. 
    • Method Detail

      • getAuthenticateUserId

        public java.lang.String getAuthenticateUserId()
        Deprecated. 
        Retrieve the logon ID under which the current user wishes to logon.
        Specified by:
        getAuthenticateUserId in interface WMMAuthenticationCmd
        Returns:
        The logon ID.
      • getRequestProperties

        public TypedProperty getRequestProperties()
                                           throws ECException
        Deprecated. since v6. This method has no replacement. It should not be called.
        Return the request properties.
        Returns:
        TypedProperty The request properties.
        Throws:
        ECException
      • isLogonIdValid

        public boolean isLogonIdValid()
        Deprecated. 
        Gets a boolean result flag will be set to indicate if the logon id supplied was correct. This method will return the result flag to indicate if the authentication was successful.
        Specified by:
        isLogonIdValid in interface WMMAuthenticationCmd
        Returns:
        True if logon ID is valid.
      • isUpdatePending

        public 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.
        Returns:
        True if password should be updated in the database.
      • isValidCredentials

        public boolean isValidCredentials()
        Deprecated. 
        Gets a boolean flag indicating if the authentication was successful. After this command task is executed, a boolean result flag will be set to indicate if the authentication was successful. This method will return the result flag to indicate if the authentication was successful.
        Specified by:
        isValidCredentials in interface WMMAuthenticationCmd
        Returns:
        True if authentication was successful.
      • setLogonId

        public void setLogonId(java.lang.String strLogonId)
        Deprecated. 
        Sets the logon ID under which the current user wishes to logon.
        Specified by:
        setLogonId in interface WMMAuthenticationCmd
        Parameters:
        strLogonId - The login ID.
      • setPassword

        public void setPassword(java.lang.String strPassword)
        Deprecated. 
        Sets the password to be used for authentication with the new logon ID.
        Specified by:
        setPassword in interface WMMAuthenticationCmd
        Parameters:
        strPassword - The password.
      • setUpdateFlag

        public void setUpdateFlag()
        Deprecated. 
        This command always performs authentication, so this method is not used.
        Specified by:
        setUpdateFlag in interface WMMAuthenticationCmd