Class SecurityController
- java.lang.Object
-
- org.zeroturnaround.javarebel.integration.util.SecurityController
-
public class SecurityController extends Object
-
-
Constructor Summary
Constructors Constructor Description SecurityController()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static <T> TdoWithoutSecurityManager(PrivilegedAction<T> action)Execute call with security manager disabledstatic <T> TdoWithoutSecurityManager(PrivilegedExceptionAction<T> action)
-
-
-
Method Detail
-
doWithoutSecurityManager
public static <T> T doWithoutSecurityManager(PrivilegedAction<T> action)
Execute call with security manager disabled
-
doWithoutSecurityManager
public static <T> T doWithoutSecurityManager(PrivilegedExceptionAction<T> action) throws PrivilegedActionException
- Throws:
PrivilegedActionException
-
-