# Uses of Package
java.security

- Packages that use java.security
  Package | Description
  --- | ---
  java.security |
  java.util.concurrent | Utility classes commonly useful in concurrent programming.

- Classes in java.security used by java.security
  Class and Description
  AccessControlContext
  PrivilegedAction A computation to be performed with privileges enabled.
  PrivilegedActionException This exception is thrown by `doPrivileged(PrivilegedExceptionAction)` and `doPrivileged(PrivilegedExceptionAction, AccessControlContext context)` to indicate that the action being performed threw a checked exception.
  PrivilegedExceptionAction A computation to be performed with privileges enabled, that throws one or more checked exceptions.

- Classes in java.security used by java.util.concurrent
  Class and Description
  PrivilegedAction A computation to be performed with privileges enabled.
  PrivilegedExceptionAction A computation to be performed with privileges enabled, that throws one or more checked exceptions.

Copyright © 2025 API Design. All Rights Reserved.