APIdia Launch Partner
Top Description Interfaces Classes
module java.base

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

Interface Summary

Modifier and TypeInterface and Description
public interface
Destroyable

Objects such as credentials may optionally implement this interface to provide the capability to destroy its contents.

public interface
Refreshable

Objects such as credentials may optionally implement this interface to provide the capability to refresh itself.

Class Summary

Modifier and TypeClass and Description
public class
AuthPermission

Deprecated for removal since 25. This permission cannot be used for controlling access to resources as the Security Manager is no longer supported.
This class is for authentication permissions.
public class
DestroyFailedException

Signals that a destroy operation failed.

public class
PrivateCredentialPermission

Deprecated for removal since 25. This permission cannot be used for controlling access to resources as the Security Manager is no longer supported.
This class is used to protect access to private Credentials belonging to a particular Subject.
public class
RefreshFailedException

Signals that a refresh operation failed.

public class
Subject

A Subject represents a grouping of related information for a single entity, such as a person.

public class
SubjectDomainCombiner

Deprecated for removal since 17. This class was only useful in conjunction with the Security Manager, which is no longer supported. There is no replacement for the Security Manager or this class.
SubjectDomainCombiner was used to dynamically update ProtectionDomains with Principals for access control operations and decisions.