6 Java Authentication and Authorization Service (JAAS)
Note:
JAAS is linked with the AccessControlContext class and several methods from the Subject class, which are deprecated for removal. See Migrating from the Deprecated for Removal Subject.getSubject and Subject.doAs Methods to the Subject.current and Subject.callAs Methods for more information.Java Authentication and Authorization Service (JAAS) Reference Guide describes Java Authentication and Authorization Service (JAAS), which enables you to authenticate users and securely determine who is currently executing Java code.
JAAS Authentication Tutorial describes how to use JAAS for the authentication of users: to reliably and securely determine who is currently running.
Java Authentication and Authorization Service (JAAS): LoginModule Developer's Guide shows you how to implement the LoginModule interface, which you plug into an application to provide a particular type of authentication.