Java in a Nutshell, 5th Edition [Electronic resources]

نسخه متنی -صفحه : 1191/ 984
نمايش فراداده

Package javax.security.auth

Java 1.4

This is the top-level package of the Java Authentication and Authorization Service (JAAS). The key class is Subject, which represents an authenticated user, and defines static methods that allow Java code be run as (i.e., using the permissions of) a specified Subject. The remaining classes and interfaces in this package are important parts of the JAAS infrastructure, but are not commonly used in application code. Applications do not create Subject objects directly, but typically obtain them from a javax.security.auth.login.LoginContext constructed with a javax.security.auth.callback.CallbackHandler.

Interfaces

public interface

Destroyable ; public interface

Refreshable ;

Classes

public final class

AuthPermission extends java.security.BasicPermission; public abstract class

Policy ; public final class

PrivateCredentialPermission extends java.security.Permission; public final class

Subject implements Serializable; public class

SubjectDomainCombiner implements java.security.DomainCombiner;

Exceptions

public class

DestroyFailedException extends Exception; public class

RefreshFailedException extends Exception;