com.ibm.commerce.security.commands

Class LogoffCmdImpl

    • Field Detail

      • COPYRIGHT

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

      • LogoffCmdImpl

        public LogoffCmdImpl()
    • Method Detail

      • getURL

        public java.lang.String getURL()
        Gets the URL specified.
        Returns:
        String The URL to redirect to after invoking the command.
      • getIbmIdLogoff

        public boolean getIbmIdLogoff()
        Indicates that the Logoff command will log off IBM id.
        Returns:
        boolean returns true if IBM id will be logged off
      • performExecute

        public void performExecute()
                            throws ECException
        Executes this command. Switches the user identity to the identity of the generic shopper, and redirects to either the specified URL (if specified) or the generic LogoffView otherwise.
        Specified by:
        performExecute in interface ECCommand
        Specified by:
        performExecute in interface com.ibm.websphere.command.TargetableCommand
        Overrides:
        performExecute in class AbstractECTargetableCommand
        Throws:
        ECException
      • setURL

        public void setURL(java.lang.String strURL)
        Sets the URL to which to redirect after logging off the user.
        Parameters:
        strURL - The URL to redirect to after logging off the user.
      • setIbmIdLogoff

        public void setIbmIdLogoff(boolean ibmIdLogoff)
        Sets the logoff IBM id indicator.
        Parameters:
        ibmIdLogoff - logoff IBM id indicator