org.apache.karaf.jaas.modules.ldap
Class LDAPLoginModule
java.lang.Object
org.apache.karaf.jaas.modules.AbstractKarafLoginModule
org.apache.karaf.jaas.modules.ldap.LDAPLoginModule
- All Implemented Interfaces:
- LoginModule
public class LDAPLoginModule
- extends AbstractKarafLoginModule
Karaf JAAS login module which uses a LDAP backend.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CONNECTION_URL
public static final String CONNECTION_URL
- See Also:
- Constant Field Values
CONNECTION_USERNAME
public static final String CONNECTION_USERNAME
- See Also:
- Constant Field Values
CONNECTION_PASSWORD
public static final String CONNECTION_PASSWORD
- See Also:
- Constant Field Values
USER_BASE_DN
public static final String USER_BASE_DN
- See Also:
- Constant Field Values
USER_FILTER
public static final String USER_FILTER
- See Also:
- Constant Field Values
USER_SEARCH_SUBTREE
public static final String USER_SEARCH_SUBTREE
- See Also:
- Constant Field Values
ROLE_BASE_DN
public static final String ROLE_BASE_DN
- See Also:
- Constant Field Values
ROLE_FILTER
public static final String ROLE_FILTER
- See Also:
- Constant Field Values
ROLE_NAME_ATTRIBUTE
public static final String ROLE_NAME_ATTRIBUTE
- See Also:
- Constant Field Values
ROLE_SEARCH_SUBTREE
public static final String ROLE_SEARCH_SUBTREE
- See Also:
- Constant Field Values
AUTHENTICATION
public static final String AUTHENTICATION
- See Also:
- Constant Field Values
INITIAL_CONTEXT_FACTORY
public static final String INITIAL_CONTEXT_FACTORY
- See Also:
- Constant Field Values
SSL
public static final String SSL
- See Also:
- Constant Field Values
SSL_PROVIDER
public static final String SSL_PROVIDER
- See Also:
- Constant Field Values
SSL_PROTOCOL
public static final String SSL_PROTOCOL
- See Also:
- Constant Field Values
SSL_ALGORITHM
public static final String SSL_ALGORITHM
- See Also:
- Constant Field Values
SSL_KEYSTORE
public static final String SSL_KEYSTORE
- See Also:
- Constant Field Values
SSL_KEYALIAS
public static final String SSL_KEYALIAS
- See Also:
- Constant Field Values
SSL_TRUSTSTORE
public static final String SSL_TRUSTSTORE
- See Also:
- Constant Field Values
DEFAULT_INITIAL_CONTEXT_FACTORY
public static final String DEFAULT_INITIAL_CONTEXT_FACTORY
- See Also:
- Constant Field Values
LDAPLoginModule
public LDAPLoginModule()
initialize
public void initialize(Subject subject,
CallbackHandler callbackHandler,
Map<String,?> sharedState,
Map<String,?> options)
login
public boolean login()
throws LoginException
- Throws:
LoginException
doLogin
protected boolean doLogin()
throws LoginException
- Throws:
LoginException
setupSsl
protected void setupSsl(Hashtable env)
throws LoginException
- Throws:
LoginException
abort
public boolean abort()
throws LoginException
- Throws:
LoginException
logout
public boolean logout()
throws LoginException
- Throws:
LoginException
Copyright © 2007-2012 The Apache Software Foundation. All Rights Reserved.