public class LDAPLoginModule extends BasePasswordLoginModule
Refer to the LDAPRealm documentation for necessary and optional configuration parameters for the Payara LDAP login support.
There are various ways in which a user can be authenticated using an LDAP directory. Currently this login module only supports one mode, 'find and bind'. Other modes may be added as schedules permit.
Mode: find-bind
_commitSucceeded, _currentRealm, _groupsList, _logger, _options, _passwd, _password, _sharedState, _subject, _succeeded, _username, _userPrincipal, sm
Constructor and Description |
---|
LDAPLoginModule() |
Modifier and Type | Method and Description |
---|---|
protected void |
authenticateUser()
Perform LDAP authentication.
|
abort, commit, commitUserAuthentication, extractCredentials, getCurrentRealm, getGroupsList, getPassword, getPasswordChar, getRealm, getSubject, getUsername, getUserPrincipal, initialize, isCommitSucceeded, isSucceeded, login, logout, setLoginModuleForAuthentication
protected void authenticateUser() throws LoginException
authenticateUser
in class BasePasswordLoginModule
LoginException
- If login fails (JAAS login() behavior).Copyright © 2019. All rights reserved.