Java™ Platform
Standard Ed. 6

Package javax.security.auth

This package provides a framework for authentication and authorization.

See:
          Description

Interface Summary
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
AuthPermission This class is for authentication permissions.
Policy Deprecated. as of JDK version 1.4 -- Replaced by java.security.Policy.
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 this SubjectDomainCombiner.
 

Exception Summary
DestroyFailedException Signals that a destroy operation failed.
RefreshFailedException Signals that a refresh operation failed.
 

Package javax.security.auth Description

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:
JDK1.4

Java™ Platform
Standard Ed. 6

Submit a bug or feature
For further API reference and developer documentation, see Java SE Developer Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.

Copyright © 1993, 2015, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.

Scripting on this page tracks web page traffic, but does not change the content in any way.