Uses of Class java.security.AccessControlContext

Uses in package java.security

Constructors with parameter type java.security.AccessControlContext

Construct a new AccessControlContext with the specified ProtectionDomains and DomainCombiner.

Methods with parameter type java.security.AccessControlContext

AccessController.T doPrivileged(PrivilegedAction action, AccessControlContext context)
Calls the run() method of the given action with as (initial) access control context the given context combined with the protection domain of the calling class.
AccessController.T doPrivileged(PrivilegedExceptionAction action, AccessControlContext context)
Calls the run() method of the given action with as (initial) access control context the given context combined with the protection domain of the calling class.

Methods with return type java.security.AccessControlContext

AccessControlContext
Returns the complete access control context of the current thread.

Uses in package javax.security.auth

Methods with parameter type java.security.AccessControlContext

Object
Run a method as another subject.
Object
Run a method as another subject.
Subject
Returns the subject associated with the given AccessControlContext.

All this method does is retrieve the Subject object from the supplied context's DomainCombiner, if any, and if it is an instance of a SubjectDomainCombiner.