Uses of Class
java.security.AccessControlContext
-
Packages that use AccessControlContext 软件包 描述 java.security 提供安全框架的类和接口。javax.security.auth 该包提供了身份验证和授权的框架。 -
-
Uses of AccessControlContext in java.security
Methods in java.security that return AccessControlContext 变量和类型 方法 描述 static AccessControlContext
AccessController. getContext()
此方法获取当前调用上下文的“快照”,其中包括当前Thread的继承AccessControlContext和任何有限的权限范围,并将其放在AccessControlContext对象中。Methods in java.security with parameters of type AccessControlContext 变量和类型 方法 描述 static <T> T
AccessController. doPrivileged(PrivilegedAction<T> action, AccessControlContext context)
执行指定的PrivilegedAction
,其权限已启用并受指定的AccessControlContext
限制。static <T> T
AccessController. doPrivileged(PrivilegedAction<T> action, AccessControlContext context, Permission... perms)
执行指定的PrivilegedAction
,其权限由指定的AccessControlContext
启用和限制,并且权限范围受指定的Permission
参数限制。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(PrivilegedAction<T> action, AccessControlContext context, Permission... perms)
执行指定的PrivilegedAction
,其权限由指定的AccessControlContext
启用和限制,并且权限范围受指定的Permission
参数限制。static <T> T
AccessController. doPrivilegedWithCombiner(PrivilegedExceptionAction<T> action, AccessControlContext context, Permission... perms)
执行指定的PrivilegedExceptionAction
,其权限由指定的AccessControlContext
启用和限制,并且特权范围受指定的Permission
参数限制。Constructors in java.security with parameters of type AccessControlContext 构造器 描述 AccessControlContext(AccessControlContext acc, DomainCombiner combiner)
创建一个新的AccessControlContext
给定AccessControlContext
和DomainCombiner
。 -
Uses of AccessControlContext in javax.security.auth
Methods in javax.security.auth with parameters of type AccessControlContext 变量和类型 方法 描述 static <T> T
Subject. doAsPrivileged(Subject subject, PrivilegedAction<T> action, AccessControlContext acc)
作为特定的Subject
执行特权工作。static <T> T
Subject. doAsPrivileged(Subject subject, PrivilegedExceptionAction<T> action, AccessControlContext acc)
作为特定的Subject
执行特权工作。static Subject
Subject. getSubject(AccessControlContext acc)
Get theSubject
associated with the providedAccessControlContext
.
-