Uses of Class
java.security.AccessControlContext
| Package | Description |
|---|---|
| java.security |
Extensible cryptographic service provider infrastructure (SPI) for using
and defining services such as
Certificates,
Keys, KeyStores, MessageDigests, and Signatures. |
| javax.security.auth |
-
Uses of AccessControlContext in java.security
Methods in java.security that return AccessControlContext Modifier and Type Method Description static AccessControlContextAccessController. getContext()Methods in java.security with parameters of type AccessControlContext Modifier and Type Method Description static <T> TAccessController. doPrivileged(PrivilegedAction<T> action, AccessControlContext context)Callsaction.run().static <T> TAccessController. doPrivileged(PrivilegedExceptionAction<T> action, AccessControlContext context)Callsaction.run().Constructors in java.security with parameters of type AccessControlContext Constructor Description AccessControlContext(AccessControlContext acc, DomainCombiner combiner) -
Uses of AccessControlContext in javax.security.auth
Methods in javax.security.auth with parameters of type AccessControlContext Modifier and Type Method Description static <T> TSubject. doAsPrivileged(Subject subject, PrivilegedAction<T> action, AccessControlContext context)Run the code defined byactionusing the permissions granted to theSubjectand to the code itself, additionally providing a more specific context.static <T> TSubject. doAsPrivileged(Subject subject, PrivilegedExceptionAction<T> action, AccessControlContext context)Runs the code defined byactionusing the permissions granted to the subject and to the code itself, additionally providing a more specific context.static SubjectSubject. getSubject(AccessControlContext context)Returns theSubjectthat was last associated with thecontextprovided as argument.