Class UserDatabaseLoginModule

java.lang.Object
org.apache.wiki.auth.login.AbstractLoginModule
org.apache.wiki.auth.login.UserDatabaseLoginModule
All Implemented Interfaces:
LoginModule

public class UserDatabaseLoginModule
extends AbstractLoginModule

Logs in a user based on a username, password, and static password file location. This module must be used with a CallbackHandler (such as WikiCallbackHandler) that supports the following Callback types:

  1. NameCallback- supplies the username
  2. PasswordCallback- supplies the password
  3. UserDatabaseCallback- supplies the UserDatabase

After authentication, a Principals based on the login name will be created and associated with the Subject.

Since:
2.3