Class SecurityController
- java.lang.Object
-
- org.zeroturnaround.javarebel.integration.util.SecurityController
-
public class SecurityController extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceSecurityController.PrivilegedAction<T>static classSecurityController.PrivilegedActionExceptionstatic interfaceSecurityController.PrivilegedDirectExceptionAction<T,X extends Exception>static interfaceSecurityController.PrivilegedExceptionAction<T>
-
Constructor Summary
Constructors Constructor Description SecurityController()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static <T> TdoWithoutSecurityManager(SecurityController.PrivilegedAction<T> action)Execute call with security manager disabledstatic <T,X extends Exception>
TdoWithoutSecurityManager(SecurityController.PrivilegedDirectExceptionAction<T,X> action)static <T> TdoWithoutSecurityManager(SecurityController.PrivilegedExceptionAction<T> action)
-
-
-
Method Detail
-
doWithoutSecurityManager
public static <T> T doWithoutSecurityManager(SecurityController.PrivilegedAction<T> action)
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 extends Exception
- Throws:
X extends Exception
-
-