Example usage for Java java.security AccessController fields, constructors, methods, implement or subclass
The text is from its open source code.
void | checkPermission(Permission perm) Determines whether the access request indicated by the specified permission should be allowed or denied, based on the current AccessControlContext and security policy. |
T | doPrivileged(PrivilegedAction Performs the specified PrivilegedAction with privileges enabled. |
T | doPrivileged(PrivilegedExceptionAction Performs the specified PrivilegedExceptionAction with privileges enabled. |
T | doPrivileged(PrivilegedAction Performs the specified PrivilegedAction with privileges enabled and restricted by the specified AccessControlContext . |
T | doPrivileged(PrivilegedExceptionAction Performs the specified PrivilegedExceptionAction with privileges enabled and restricted by the specified AccessControlContext . |
T | doPrivilegedWithCombiner(PrivilegedAction Performs the specified PrivilegedAction with privileges enabled. |
T | doPrivilegedWithCombiner(PrivilegedExceptionAction Performs the specified PrivilegedExceptionAction with privileges enabled. |
AccessControlContext | getContext() This method takes a "snapshot" of the current calling context, which includes the current Thread's inherited AccessControlContext and any limited privilege scope, and places it in an AccessControlContext object. |