Interface RestoreOriginalUserSetInSessionCmd

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

    public interface RestoreOriginalUserSetInSessionCmd
    extends ControllerCommand

    This command is used by a user to switch their identity from a forUserId back to their original identity.

    • Field Detail

      • defaultCommandClassName

        static final java.lang.String defaultCommandClassName
        Default command implementation class.
        See Also:
        Constant Field Values
      • VIEW_NAME

        static final java.lang.String VIEW_NAME
        The view that would be forwarded to on successful execution, if a URL is not defined.
        See Also:
        Constant Field Values

        static final java.lang.String ERRTASK_NAME
        The error view that would be forwarded to, on errors.
        See Also:
        Constant Field Values
    • Method Detail

      • restoreOrginalUserId

        void restoreOrginalUserId()
                           throws ECException
        Switches from the forUserId, which is currently used for execution, back to the original administrative identity.
        ECException - is thrown if there are any problems during this operation
      • getURL

        java.lang.String getURL()
        The URL to redirect to, on successful execution of the command.
        The URL to redirect to on success.