edu.vt.middleware.ldap.jaas
public class LdapDnAuthorizationModule extends AbstractLoginModule implements javax.security.auth.spi.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(javax.security.auth.Subject subject,
javax.security.auth.callback.CallbackHandler callbackHandler,
java.util.Map<java.lang.String,?> sharedState,
java.util.Map<java.lang.String,?> options) |
boolean |
login() |
static void |
main(java.lang.String[] args)
This provides command line access to a
LdapLoginModule. |
abort, attributesToRoles, clearState, commit, createAuthenticator, createLdap, getCredentials, logout, storeCredentialspublic void initialize(javax.security.auth.Subject subject,
javax.security.auth.callback.CallbackHandler callbackHandler,
java.util.Map<java.lang.String,?> sharedState,
java.util.Map<java.lang.String,?> options)
initialize in interface javax.security.auth.spi.LoginModuleinitialize in class AbstractLoginModulepublic boolean login()
throws javax.security.auth.login.LoginException
login in interface javax.security.auth.spi.LoginModulelogin in class AbstractLoginModulejavax.security.auth.login.LoginExceptionpublic static void main(java.lang.String[] args)
throws java.lang.Exception
LdapLoginModule.args - String[]java.lang.Exception - if an error occursCopyright © 2014. All Rights Reserved.