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
- 
ClassDescriptionThis class is for authentication permissions.Objects such as credentials may optionally implement this interface to provide the capability to destroy its contents.Signals that adestroyoperation failed.This class is used to protect access to private Credentials belonging to a particularSubject.Objects such as credentials may optionally implement this interface to provide the capability to refresh itself.Signals that arefreshoperation failed.ASubjectrepresents a grouping of related information for a single entity, such as a person.Deprecated, for removal: This API element is subject to removal in a future version.This class was only useful in conjunction with the Security Manager, which is no longer supported.