| Package | Description |
|---|---|
| java.security |
| Modifier and Type | Method and Description |
|---|---|
static AccessControlContext |
AccessController.getContext()
This method takes a "snapshot" of the current calling context, which
includes the current Thread's inherited AccessControlContext,
and places it in an AccessControlContext object.
|
| Modifier and Type | Method and Description |
|---|---|
static <T> T |
AccessController.doPrivileged(PrivilegedAction<T> action,
AccessControlContext context)
Performs the specified
PrivilegedAction with privileges
enabled and restricted by the specified
AccessControlContext. |
Copyright © 2021 API Design. All Rights Reserved.