For information about artifacts as they are being executed.
| Type | Name and description |
|---|---|
boolean |
disableAuthz()Disable authorization checks for the current ExecutionContext only. |
boolean |
disableEntityEca()Disable Entity Facade ECA rules (for this thread/ExecutionContext only, does not affect other things happening in the system). |
boolean |
disableTarpit() |
void |
enableAuthz()Enable authorization after a disableAuthz() call. |
void |
enableEntityEca()Disable Entity Facade ECA rules (for this thread/ExecutionContext only, does not affect other things happening in the system). |
void |
enableTarpit() |
java.util.List<ArtifactExecutionInfo> |
getHistory() |
java.util.Deque<ArtifactExecutionInfo> |
getStack()Gets a stack/deque/list of objects representing artifacts that have been executed to get to the current artifact. |
ArtifactExecutionInfo |
peek()Gets information about the current artifact being executed, and about authentication and authorization for that artifact. |
ArtifactExecutionInfo |
pop(ArtifactExecutionInfo aei)Pop from the artifact stack and verify it is the same artifact name and type. |
java.lang.String |
printHistory() |
void |
push(ArtifactExecutionInfo aei, boolean requiresAuthz)Push onto the artifact stack. |
ArtifactExecutionInfo |
push(java.lang.String name, ArtifactType typeEnum, AuthzAction actionEnum, boolean requiresAuthz) |
void |
setAnonymousAuthorizedAll() |
void |
setAnonymousAuthorizedView() |
Disable authorization checks for the current ExecutionContext only. This should be used when the system automatically does something (possible based on a user action) that the user would not generally have permission to do themselves.
Disable Entity Facade ECA rules (for this thread/ExecutionContext only, does not affect other things happening in the system).
Enable authorization after a disableAuthz() call. Not that this should be done in a finally block with the code following the disableAuthz() in the corresponding try block. If this is not in a finally block an exception may result in authorizations being disabled for the rest of the scope of the ExecutionContext (a potential security whole).
Disable Entity Facade ECA rules (for this thread/ExecutionContext only, does not affect other things happening in the system).
Gets a stack/deque/list of objects representing artifacts that have been executed to get to the current artifact. The bottom artifact in the stack will generally be a screen or a service. If a service is run locally this will trace back to the screen or service that called it, and if a service was called remotely it will be the bottom of the stack.
Gets information about the current artifact being executed, and about authentication and authorization for that artifact.
Pop from the artifact stack and verify it is the same artifact name and type. This is generally called internally by the framework and does not need to be used in application code.
Push onto the artifact stack. This is generally called internally by the framework and does not need to be used in application code.