public class SslLdapLoginModule
extends org.apache.karaf.jaas.modules.AbstractKarafLoginModule
Modifier and Type | Field and Description |
---|---|
static String |
BIND_METHOD |
static String |
CONNECTION_PASSWORD |
static String |
CONNECTION_POOL_ID |
static String |
CONNECTION_URL |
static String |
CONNECTION_USERNAME |
static String |
KDC_ADDRESS |
static String |
REALM_KEY |
static String |
ROLE_BASE_DN |
static String |
ROLE_FILTER |
static String |
ROLE_NAME_ATTRIBUTE |
static String |
ROLE_SEARCH_SUBTREE |
static String |
SSL_STARTTLS |
static String |
USER_BASE_DN |
static String |
USER_FILTER |
static String |
USER_SEARCH_SUBTREE |
Constructor and Description |
---|
SslLdapLoginModule() |
Modifier and Type | Method and Description |
---|---|
boolean |
abort() |
protected boolean |
doLogin() |
protected org.osgi.framework.BundleContext |
getContext() |
protected char[] |
getDecryptedPassword(String encryptedPassword) |
EncryptionService |
getEncryptionService() |
void |
initialize(Subject subject,
CallbackHandler callbackHandler,
Map<String,?> sharedState,
Map<String,?> options) |
boolean |
login() |
boolean |
logout() |
void |
setEncryptionService(EncryptionService encryptionService) |
void |
setLdapConnectionPool(org.apache.commons.pool2.impl.GenericObjectPool<org.forgerock.opendj.ldap.Connection> ldapConnectionPool) |
public static final String CONNECTION_URL
public static final String CONNECTION_USERNAME
public static final String CONNECTION_PASSWORD
public static final String USER_BASE_DN
public static final String USER_FILTER
public static final String USER_SEARCH_SUBTREE
public static final String ROLE_BASE_DN
public static final String ROLE_FILTER
public static final String ROLE_NAME_ATTRIBUTE
public static final String ROLE_SEARCH_SUBTREE
public static final String SSL_STARTTLS
public static final String BIND_METHOD
public static final String REALM_KEY
public static final String KDC_ADDRESS
public static final String CONNECTION_POOL_ID
protected boolean doLogin() throws LoginException
LoginException
public boolean abort() throws LoginException
LoginException
public boolean logout() throws LoginException
LoginException
protected org.osgi.framework.BundleContext getContext()
public void initialize(Subject subject, CallbackHandler callbackHandler, Map<String,?> sharedState, Map<String,?> options)
public boolean login() throws LoginException
LoginException
protected char[] getDecryptedPassword(String encryptedPassword)
public EncryptionService getEncryptionService()
public void setEncryptionService(EncryptionService encryptionService)
public void setLdapConnectionPool(org.apache.commons.pool2.impl.GenericObjectPool<org.forgerock.opendj.ldap.Connection> ldapConnectionPool)
This work is licensed under a Creative Commons Attribution 4.0 International License.