public class LdapDnAuthorizationModule extends AbstractLoginModule implements LoginModule
LdapDnAuthorizationModule provides a JAAS authentication hook
into LDAP DNs. No authentication is performed in this module. The LDAP entry
dn can be stored and shared with other modules.callbackHandler, clearPass, commitSuccess, credentials, defaultRole, logger, LOGIN_DN, LOGIN_NAME, LOGIN_PASSWORD, loginSuccess, principalGroupName, principals, roleGroupName, roles, setLdapCredential, setLdapDnPrincipal, setLdapPrincipal, sharedState, storePass, subject, tryFirstPass, useFirstPass| Constructor and Description |
|---|
LdapDnAuthorizationModule() |
| Modifier and Type | Method and Description |
|---|---|
void |
initialize(Subject subject,
CallbackHandler callbackHandler,
Map<String,?> sharedState,
Map<String,?> options) |
boolean |
login() |
static void |
main(String[] args)
This provides command line access to a
LdapLoginModule. |
abort, attributesToRoles, clearState, commit, createAuthenticator, createLdap, getCredentials, logout, storeCredentialsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitabort, commit, logoutpublic void initialize(Subject subject, CallbackHandler callbackHandler, Map<String,?> sharedState, Map<String,?> options)
initialize in interface LoginModuleinitialize in class AbstractLoginModulepublic boolean login()
throws LoginException
login in interface LoginModulelogin in class AbstractLoginModuleLoginExceptionCopyright © 2014. All rights reserved.