Figure 1.
Contextual Login
JAAS's login modules are configured externally to applications, which call a single login method to perform the login. Each module gathers the data necessary to perform the login.