public interface RestoreOriginalUserSetInSessionCmd extends ControllerCommand
This command is used by a user to switch their identity from a forUserId back to their original identity.
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
Copyright field.
|
static java.lang.String |
defaultCommandClassName
Default command implementation class.
|
static java.lang.String |
ERRTASK_NAME
The error view that would be forwarded to, on errors.
|
static java.lang.String |
NAME
Command name.
|
static java.lang.String |
VIEW_NAME
The view that would be forwarded to on successful execution, if a URL is not defined.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getURL()
The URL to redirect to, on successful execution of the command.
|
void |
restoreOrginalUserId()
Switches from the forUserId, which is currently used for execution, back to the
original administrative identity.
|
checkPermission, execute, getGeneric, getRequestProperties, getResolvedRequestProperties, getResponseProperties, getRetriable, getViewInputProperties, isGeneric, isRetriable, mergeProperties, setGeneric, setRequestProperties, setRetriable, setViewInputProperties
executeFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, updateCache
getCommandTarget, getCommandTargetName, hasOutputProperties, performExecute, setCommandTarget, setCommandTargetName, setOutputProperties
accessControlCheck, getAccCheck, getForUserId, getResourceOwners, setAccCheck, setForUserId, setOwner
checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, performExecute, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameters
fulfills, getOwner
static final java.lang.String COPYRIGHT
static final java.lang.String NAME
static final java.lang.String defaultCommandClassName
static final java.lang.String VIEW_NAME
static final java.lang.String ERRTASK_NAME
void restoreOrginalUserId() throws ECException
ECException
- is thrown if there are any problems during this operationjava.lang.String getURL()