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:
NameCallback- supplies the username
PasswordCallback- supplies the password
UserDatabaseCallback- supplies the
After authentication, a Principals based on the login name will be created and associated with the Subject.
|Constructor and Description|
|Modifier and Type||Method and Description|
Logs in the user by calling back to the registered CallbackHandler with a series of callbacks.
abort, commit, initialize, logout
public boolean login() throws LoginException
Copyright © 2001-2019 The Apache Software Foundation. All rights reserved.