public interface RunAsUserSetInSessionCmd extends ControllerCommand
This command is used by an administrator to act on behalf of another user for multiple request in a single session. This command is used to switch from the current user identity to run under the identity specified for all subsequent requests.
| 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 |
RUN_AS_USERID
This constant defines the RunAsId parameter of the command.
|
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 |
|---|---|
void |
setRunAsUserId(java.lang.Long nRunAsId)
Sets the userId to switch to.
|
checkPermission, execute, getGeneric, getRequestProperties, getResolvedRequestProperties, getResponseProperties, getRetriable, getViewInputProperties, isGeneric, isRetriable, mergeProperties, setGeneric, setRequestProperties, setRetriable, setViewInputPropertiesexecuteFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, updateCachegetCommandTarget, getCommandTargetName, hasOutputProperties, performExecute, setCommandTarget, setCommandTargetName, setOutputPropertiesaccessControlCheck, getAccCheck, getForUserId, getResourceOwners, setAccCheck, setForUserId, setOwnercheckIsAllowed, checkResourcePermission, createCommandExecutionEvent, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, performExecute, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParametersfulfills, getOwnerstatic final java.lang.String COPYRIGHT
static final java.lang.String NAME
static final java.lang.String defaultCommandClassName
static final java.lang.String RUN_AS_USERID
static final java.lang.String VIEW_NAME
static final java.lang.String ERRTASK_NAME