Uses of Class
java.security.PrivilegedActionException
-
Packages that use PrivilegedActionException 软件包 描述 java.security 提供安全框架的类和接口。javax.security.auth 此软件包提供了认证和授权的框架。 -
-
Uses of PrivilegedActionException in java.security
Methods in java.security that throw PrivilegedActionException Modifier and Type 方法 描述 static <T> T
AccessController. doPrivileged(PrivilegedExceptionAction<T> action)
执行指定的PrivilegedExceptionAction
启用特权。static <T> T
AccessController. doPrivileged(PrivilegedExceptionAction<T> action, AccessControlContext context)
执行指定的PrivilegedExceptionAction
其中启用并受指定的AccessControlContext
限制。static <T> T
AccessController. doPrivileged(PrivilegedExceptionAction<T> action, AccessControlContext context, Permission... perms)
执行指定的PrivilegedExceptionAction
,该权限启用并受指定的AccessControlContext
限制,特权范围受指定的Permission
参数限制。static <T> T
AccessController. doPrivilegedWithCombiner(PrivilegedExceptionAction<T> action)
执行指定的PrivilegedExceptionAction
启用特权。static <T> T
AccessController. doPrivilegedWithCombiner(PrivilegedExceptionAction<T> action, AccessControlContext context, Permission... perms)
执行指定的PrivilegedExceptionAction
,该权限启用并受指定的AccessControlContext
限制,特权范围受指定的Permission
参数限制。 -
Uses of PrivilegedActionException in javax.security.auth
Methods in javax.security.auth that throw PrivilegedActionException Modifier and Type 方法 描述 static <T> T
Subject. doAs(Subject subject, PrivilegedExceptionAction<T> action)
执行工作作为一个特定的Subject
。static <T> T
Subject. doAsPrivileged(Subject subject, PrivilegedExceptionAction<T> action, AccessControlContext acc)
作为特定的Subject
执行特权工作。
-