com.ibm.commerce.security.commands

Interface WMMAuthenticationCmd

  • All Superinterfaces:
    com.ibm.websphere.command.CacheableCommand, com.ibm.commerce.command.CacheableECCommand, com.ibm.websphere.command.Command, com.ibm.websphere.command.CommandCaller, ECCommand, java.io.Serializable, com.ibm.websphere.command.TargetableCommand, TaskCommand
    All Known Subinterfaces:
    LDAPAuthenticationCmd
    All Known Implementing Classes:
    LDAPAuthenticationCmdImpl, WMMAuthenticationCmdImpl

    Deprecated. 
    in version 7. Use LDAPAuthenticationCmd instead.

    public interface WMMAuthenticationCmd
    extends TaskCommand
    This task command is called by LogonCmdImpl to authenticate a user against an LDAP server when the system is configured to authenticate against LDAP.

    Before executing this task command the following sets should be performed:

    • setCommandContext
    • setLogonId
    • setPassword
    Call isValidCredentials to determine if authentication succeeds.
    • Field Detail

      • COPYRIGHT

        static final java.lang.String COPYRIGHT
        Deprecated. 
        Copyright field.
        See Also:
        Constant Field Values
      • NAME

        static final java.lang.String NAME
        Deprecated. 
        Command name.
      • defaultCommandClassName

        static final java.lang.String defaultCommandClassName
        Deprecated. 
        Default command implementation class.
    • Method Detail

      • getAuthenticateUserId

        java.lang.String getAuthenticateUserId()
        Deprecated. 
        Gets the user id of the user after the authentication was successful. If the authentication was not successful, the method returns null.
        Returns:
        The user id.
      • isLogonIdValid

        boolean isLogonIdValid()
        Deprecated. 
        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.
        Returns:
        True if LogonId is valid.
      • isValidCredentials

        boolean isValidCredentials()
        Deprecated. 
        After its execution, this task command sets a boolean flag to indicate whether the authentication was successful. This method will return this result flag to indicate if the authentication was successful.
        Returns:
        True if authentication was successful.
      • setLogonId

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

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

        void setUpdateFlag()
        Deprecated. 
        This command always performs authentication, so this method is not used.