Class AccessControllerHelper
- java.lang.Object
-
- com.helger.commons.lang.priviledged.AccessControllerHelper
-
@Immutable public final class AccessControllerHelper extends Object
Simple wrapper aroundAccessControllerto catch exceptions centrally.
This class is deprecated per Java 17, as the Java Security Manager is deprecated in that version. See https://openjdk.org/jeps/411 for details.- Author:
- Philip Helger
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static <T> Tcall(PrivilegedAction<T> aAction)static <T> voidrun(PrivilegedAction<T> aAction)
-
-
-
Method Detail
-
call
@Nullable public static <T> T call(@Nonnull PrivilegedAction<T> aAction)
-
run
public static <T> void run(@Nonnull PrivilegedAction<T> aAction)
-
-