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
ConstructorsConstructorDescriptionRunAsTask(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
getDescriptionMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods 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:
descriptionVariablesin classAbstractDelegatingPersistTask<A,T>
-
toString
-