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 变量和类型 方法 描述 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 变量和类型 方法 描述 static <T> T
Subject. doAs(Subject subject, PrivilegedExceptionAction<T> action)
作为特定的Subject
执行工作。static <T> T
Subject. doAsPrivileged(Subject subject, PrivilegedExceptionAction<T> action, AccessControlContext acc)
作为特定的Subject
执行特权工作。
-