Class RunAsTask<A,T>
java.lang.Object
ch.tocco.nice2.persist.core.api.exec.AbstractDelegatingPersistTask<A,T>
ch.tocco.nice2.persist.security.impl.exec.RunAsTask<A,T>
- All Implemented Interfaces:
PersistTask<A,
T>
-
Field Summary
Fields inherited from class ch.tocco.nice2.persist.core.api.exec.AbstractDelegatingPersistTask
delegate
-
Constructor Summary
ConstructorDescriptionRunAsTask
(PersistTask<A, T> delegate, SecurityManager securityManager, Principal principal, @Nullable SecurityContext sc) -
Method Summary
Methods inherited from class ch.tocco.nice2.persist.core.api.exec.AbstractDelegatingPersistTask
getDescription
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface ch.tocco.nice2.persist.core.api.exec.PersistTask
andThenDo, compose, compose2, composeWhen, discardResult, expand, expand, ifElse, orWhen, orWhenNot, passWhen, passWhenNot, skipErrors, unwrap
-
Constructor Details
-
RunAsTask
public RunAsTask(PersistTask<A, T> delegate, SecurityManager securityManager, Principal principal, @Nullable @Nullable SecurityContext sc)
-
-
Method Details
-
run
- Throws:
Exception
-
descriptionVariables
- Specified by:
descriptionVariables
in classAbstractDelegatingPersistTask<A,
T>
-
toString
-