Interface LogonCmd

  • All Superinterfaces:
    AccCommand,,,, ControllerCommand, ECCommand, Protectable,,
    All Known Subinterfaces:
    All Known Implementing Classes:
    BusinessContextServiceLogonCmdImpl, LogonCmdImpl

    public interface LogonCmd
    extends ControllerCommand

    This controller command logs a user into the system. If the user is logging in from a guest shopper identity, then also migrate the guest shopper resources to the new user login identity.

    Before executing this task command, the methods listed below must be invoked.

    • setLogonId
    • setPassword
    • setReLogonURL
    • setPostLogonURL

    Upon successful authentication, the user is redirected to the URL specified by setPostLogonURL. Upon unsuccessful authentication, the user is redirected to the URL specified by setReLogonURL.

    • Field Detail


        static final java.lang.String COPYRIGHT
        The copyright field.
        See Also:
        Constant Field Values
      • defaultCommandClassName

        static final java.lang.String defaultCommandClassName
        The default command implementation class.
        See Also:
        Constant Field Values
    • Method Detail

      • getAuthenticateUserId

        java.lang.String getAuthenticateUserId()
        This method retrieves the user ID of the logged in user.
        The user ID.
      • setLogonId

        void setLogonId(java.lang.String strLogonId)
        This method sets the logon ID under which the current user wishes to logon.
        strLogonId - The logon ID
      • setLogonPassword

        void setLogonPassword(java.lang.String strPassword)
        This method sets the password to use for authentication with the new logon ID.
        strPassword - The password.
      • setPostLogonURL

        void setPostLogonURL(java.lang.String strPostLoginURL)
        This method sets the URL to redirect the user to after a successful authentication.
        strPostLoginURL - The post login URL.
      • setReLogonURL

        void setReLogonURL(java.lang.String strReLoginURL)
        This method sets the URL to redirct the user to after an unsuccessful authentication.
        strReLoginURL - The relogin login URL.