public class JDBCLoginModule extends BasePasswordLoginModule
The work is derived from Sun's sample JDBC login module. Enhancements have been done to use the very latest features.
_commitSucceeded, _currentRealm, _groupsList, _logger, _options, _passwd, _password, _sharedState, _subject, _succeeded, _username, _userPrincipal, sm| Constructor and Description |
|---|
JDBCLoginModule() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
authenticateUser()
Perform JDBC authentication.
|
abort, commit, commitUserAuthentication, extractCredentials, getCurrentRealm, getGroupsList, getPassword, getPasswordChar, getRealm, getSubject, getUsername, getUserPrincipal, initialize, isCommitSucceeded, isSucceeded, login, logout, setLoginModuleForAuthenticationprotected void authenticateUser()
throws LoginException
authenticateUser in class BasePasswordLoginModuleLoginException - If login fails (JAAS login() behavior).Copyright © 2019. All rights reserved.