## Uses of Class
javax.security.auth.Policy

- Packages that use Policy
  Package | Description
  --- | ---
  com.sun.security.auth | Provides implementations of `Principal`.
  javax.security.auth | This package provides a framework for authentication and authorization.

- - ### Uses of Policy in com.sun.security.auth

    Subclasses of Policy in com.sun.security.auth
    Modifier and Type | Class | Description
    --- | --- | ---
    `class` | `PolicyFile` | Deprecated, for removal: This API element is subject to removal in a future version. As of JDK 1.4, replaced by `sun.security.provider.PolicyFile`. This class is entirely deprecated. This class is subject to removal in a future version of Java SE.

  - ### Uses of Policy in javax.security.auth

    Methods in javax.security.auth that return Policy
    Modifier and Type | Method | Description
    --- | --- | ---
    `static Policy` | Policy.`getPolicy​()` | Deprecated. Returns the installed Policy object.

    Methods in javax.security.auth with parameters of type Policy
    Modifier and Type | Method | Description
    --- | --- | ---
    `static void` | Policy.`setPolicy​(Policy policy)` | Deprecated. Sets the system-wide Policy object.