December 2002
Intermediate to advanced
556 pages
12h 29m
English
When you want to implement your own login mechanism for your application, you may want to use JAAS and implement the required programmatic login.
Figure 8-8 shows the activity diagram for JAAS and how the different components are working together during a login process.

The step-by-step process is described below:
The application starts the login process using JAAS.
The LoginContext is initialized.
During the login process, executed in the LoginContext, a Principal will be authenticated using the specified callback handler.
If the authentication was successful the LoginContext commits ...
Read now
Unlock full access