W3cubDocs

/OpenJDK 21

Package javax.security.auth

package javax.security.auth
This package provides a framework for authentication and authorization. The framework allows authentication to be performed in pluggable fashion. Different authentication modules can be plugged under an application without requiring modifications to the application itself. The authorization component allows specification of access controls based on code location, code signers and code executors (Subjects).
Since:
1.4
Class Description
AuthPermission
This class is for authentication permissions.
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.
PrivateCredentialPermission
This class is used to protect access to private Credentials belonging to a particular Subject.
Refreshable
Objects such as credentials may optionally implement this interface to provide the capability to refresh itself.
RefreshFailedException
Signals that a refresh operation failed.
Subject
A Subject represents a grouping of related information for a single entity, such as a person.
SubjectDomainCombiner Deprecated, for removal: This API element is subject to removal in a future version.
This class is only useful in conjunction with the Security Manager, which is deprecated and subject to removal in a future release.

© 1993, 2023, Oracle and/or its affiliates. All rights reserved.
Documentation extracted from Debian's OpenJDK Development Kit package.
Licensed under the GNU General Public License, version 2, with the Classpath Exception.
Various third party code in OpenJDK is licensed under different licenses (see Debian package).
Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
https://docs.oracle.com/en/java/javase/21/docs/api/java.base/javax/security/auth/package-summary.html