Class SecModes
java.lang.Object
ch.tocco.nice2.persist.security.api.exec.SecModes
-
Field Summary
-
Method Summary
-
Field Details
-
PRIVILEGED
Performs the task in privileged mode. -
RUN_AS
Performs the task using the security context of the specified user. Note, this will change the principal on the thread for the time the task is executing! This is useful when usingCommandService.submit(Mode, PersistTask, Object)
since there a new thread is used to execute the task.
-