Class SecurityContext
java.lang.Object
org.opencastproject.security.util.SecurityContext
This class handles all the boilerplate of setting up and tearing down a security context. It also makes it possible
to pass around contexts so that clients need not deal with services, users, passwords etc.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidRun functionfwithin the context.<A> ArunInContext(Supplier<A> f) Run functionfwithin the context.
-
Constructor Details
-
SecurityContext
-
-
Method Details
-
runInContext
Run functionfwithin the context. -
runInContext
Run functionfwithin the context.
-