## Uses of Class
java.security.AccessControlContext

- Packages that use AccessControlContext
  Package | Description
  --- | ---
  java.security |

- - ### Uses of AccessControlContext in java.security

    Methods in java.security that return AccessControlContext
    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.

    Methods in java.security with parameters of type AccessControlContext
    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 © 2025 API Design. All Rights Reserved.