Authenticating with a user name and password

This section explain how the JAAS LoginModule authenticates with a user name and password. To authenticate a user, the JAAS LoginModule requires the calling application to provide the following attributes:

The LoginModule authenticates the principal and returns the Security Verify Access credential. The LoginModule expects the calling application to provide the following information:

When the Security Verify Access credential is successfully retrieved, the LoginModule creates a Subject and a PDPrincipal.

Parent topic: Authenticating users and obtaining credentials