javax.security.auth (Java SE 11 & JDK 11 ) (original) (raw)
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
- Interface Summary
Interface Description Destroyable Objects such as credentials may optionally implement this interface to provide the capability to destroy its contents. Refreshable Objects such as credentials may optionally implement this interface to provide the capability to refresh itself. - Class Summary
Class Description AuthPermission This class is for authentication permissions. PrivateCredentialPermission This class is used to protect access to private Credentials belonging to a particular Subject. Subject A Subject represents a grouping of related information for a single entity, such as a person. SubjectDomainCombiner A SubjectDomainCombiner updates ProtectionDomains with Principals from the Subject associated with thisSubjectDomainCombiner. - Exception Summary
Exception Description DestroyFailedException Signals that a destroy operation failed. RefreshFailedException Signals that a refresh operation failed.
Report a bug or suggest an enhancement
For further API reference and developer documentation see the Java SE Documentation, which contains more detailed, developer-targeted descriptions with conceptual overviews, definitions of terms, workarounds, and working code examples.
Java is a trademark or registered trademark of Oracle and/or its affiliates in the US and other countries.
Copyright © 1993, 2025, Oracle and/or its affiliates, 500 Oracle Parkway, Redwood Shores, CA 94065 USA.
All rights reserved. Use is subject to license terms and the documentation redistribution policy.