Uses of Package javax.security.auth (Java Platform SE 8 )
Date: 2026-04-24

# Uses of Package
javax.security.auth

- Packages that use javax.security.auth
  Package | Description
  --- | ---
  java.security | Provides the classes and interfaces for the security framework.
  java.security.interfaces | Provides interfaces for generating RSA (Rivest, Shamir and Adleman AsymmetricCipher algorithm) keys as defined in the RSA Laboratory Technical Note PKCS#1, and DSA (Digital Signature Algorithm) keys as defined in NIST's FIPS-186.
  javax.crypto | Provides the classes and interfaces for cryptographic operations.
  javax.crypto.interfaces | Provides interfaces for Diffie-Hellman keys as defined in RSA Laboratories' PKCS #3.
  javax.crypto.spec | Provides classes and interfaces for key specifications and algorithm parameter specifications.
  javax.management.remote | Interfaces for remote access to JMX MBean servers.
  javax.management.remote.rmi | The RMI connector is a connector for the JMX Remote API that uses RMI to transmit client requests to a remote MBean server.
  javax.security.auth | This package provides a framework for authentication and authorization.
  javax.security.auth.kerberos | This package contains utility classes related to the Kerberos network authentication protocol.
  javax.security.auth.login | This package provides a pluggable authentication framework.
  javax.security.auth.spi | This package provides the interface to be used for implementing pluggable authentication modules.
  javax.security.auth.x500 | This package contains the classes that should be used to store X500 Principal and X500 Private Credentials in a Subject.

- Classes in javax.security.auth used by java.security
  Class and Description
  Destroyable Objects such as credentials may optionally implement this interface to provide the capability to destroy its contents.
  DestroyFailedException Signals that a `destroy` operation failed.
  Subject A `Subject` represents a grouping of related information for a single entity, such as a person.

- Classes in javax.security.auth used by java.security.interfaces
  Class and Description
  Destroyable Objects such as credentials may optionally implement this interface to provide the capability to destroy its contents.

- Classes in javax.security.auth used by javax.crypto
  Class and Description
  Destroyable Objects such as credentials may optionally implement this interface to provide the capability to destroy its contents.

- Classes in javax.security.auth used by javax.crypto.interfaces
  Class and Description
  Destroyable Objects such as credentials may optionally implement this interface to provide the capability to destroy its contents.

- Classes in javax.security.auth used by javax.crypto.spec
  Class and Description
  Destroyable Objects such as credentials may optionally implement this interface to provide the capability to destroy its contents.

- Classes in javax.security.auth used by javax.management.remote
  Class and Description
  Subject A `Subject` represents a grouping of related information for a single entity, such as a person.

- Classes in javax.security.auth used by javax.management.remote.rmi
  Class and Description
  Subject A `Subject` represents a grouping of related information for a single entity, such as a person.

- Classes in javax.security.auth used by javax.security.auth
  Class and Description
  DestroyFailedException Signals that a `destroy` operation failed.
  Policy Deprecated. as of JDK version 1.4 -- Replaced by java.security.Policy. java.security.Policy has a method:
            public PermissionCollection getPermissions
                (java.security.ProtectionDomain pd)
  and ProtectionDomain has a constructor:
            public ProtectionDomain
                (CodeSource cs,
                 PermissionCollection permissions,
                 ClassLoader loader,
                 Principal[] principals)
  These two APIs provide callers the means to query the Policy for Principal-based Permission entries.
  RefreshFailedException Signals that a `refresh` operation failed.
  Subject A `Subject` represents a grouping of related information for a single entity, such as a person.

- Classes in javax.security.auth used by javax.security.auth.kerberos
  Class and Description
  Destroyable Objects such as credentials may optionally implement this interface to provide the capability to destroy its contents.
  DestroyFailedException Signals that a `destroy` operation failed.
  Refreshable Objects such as credentials may optionally implement this interface to provide the capability to refresh itself.
  RefreshFailedException Signals that a `refresh` operation failed.

- Classes in javax.security.auth used by javax.security.auth.login
  Class and Description
  Subject A `Subject` represents a grouping of related information for a single entity, such as a person.

- Classes in javax.security.auth used by javax.security.auth.spi
  Class and Description
  Subject A `Subject` represents a grouping of related information for a single entity, such as a person.

- Classes in javax.security.auth used by javax.security.auth.x500
  Class and Description
  Destroyable Objects such as credentials may optionally implement this interface to provide the capability to destroy its contents.

Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2026, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.