Class SecurityController
java.lang.Object
org.zeroturnaround.javarebel.integration.util.SecurityController
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfacestatic classstatic interfacestatic interface -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic <T> TExecute call with security manager disabledstatic <T,X extends Exception>
Tstatic <T> T
-
Constructor Details
-
SecurityController
public SecurityController()
-
-
Method Details
-
doWithoutSecurityManager
Execute call with security manager disabled -
doWithoutSecurityManager
public static <T> T doWithoutSecurityManager(SecurityController.PrivilegedExceptionAction<T> action) throws SecurityController.PrivilegedActionException -
doWithoutSecurityManager
public static <T,X extends Exception> T doWithoutSecurityManager(SecurityController.PrivilegedDirectExceptionAction<T, X> action) throws X- Throws:
X extends Exception
-