Overview Package Class Use Source Tree Index Deprecated About
GNU Classpath (0.95)
Frames | No Frames

Uses of Class java.security.AccessControlContext

Uses in package java.security

Constructors with parameter type java.security.AccessControlContext

AccessControlContext.AccessControlContext(AccessControlContext acc, DomainCombiner combiner)
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
AccessController.getContext()
Returns the complete access control context of the current thread.

Uses in package javax.security.auth

Methods with parameter type java.security.AccessControlContext

Object
Subject.doAsPrivileged(Subject subject, PrivilegedAction<T> action, AccessControlContext acc)
Run a method as another subject.
Object
Subject.doAsPrivileged(Subject subject, PrivilegedExceptionAction<T> action, AccessControlContext acc)
Run a method as another subject.
Subject
Subject.getSubject(AccessControlContext context)
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.

Overview Package Class Use Source Tree Index Deprecated About
GNU Classpath (0.95)

AltStyle によって変換されたページ (->オリジナル) /