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 . Interfacespublic interface Destroyable ; public interface Refreshable ; Classespublic 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; Exceptionspublic class DestroyFailedException extends Exception; public class RefreshFailedException extends Exception; |