Package ddf.ldap.ldaplogin
Class SslLdapLoginModule
java.lang.Object
org.apache.karaf.jaas.modules.AbstractKarafLoginModule
ddf.ldap.ldaplogin.SslLdapLoginModule
- All Implemented Interfaces:
LoginModule
public class SslLdapLoginModule
extends org.apache.karaf.jaas.modules.AbstractKarafLoginModule
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final StringFields inherited from class org.apache.karaf.jaas.modules.AbstractKarafLoginModule
bundleContext, callbackHandler, commitSucceeded, debug, detailedLoginExcepion, options, principals, roleDiscriminator, rolePolicy, subject, succeeded, user -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleandoLogin()protected org.osgi.framework.BundleContextprotected char[]getDecryptedPassword(String encryptedPassword) ddf.security.encryption.EncryptionServicevoidinitialize(Subject subject, CallbackHandler callbackHandler, Map<String, ?> sharedState, Map<String, ?> options) booleanlogin()voidsetEncryptionService(ddf.security.encryption.EncryptionService encryptionService) voidsetLdapConnectionPool(org.apache.commons.pool2.impl.GenericObjectPool<org.forgerock.opendj.ldap.Connection> ldapConnectionPool) voidsetSecurityLogger(ddf.security.audit.SecurityLogger securityLogger) Methods inherited from class org.apache.karaf.jaas.modules.AbstractKarafLoginModule
abort, checkPassword, clear, commit, initialize, logout
-
Field Details
-
CONNECTION_USERNAME_OPTIONS_KEY
- See Also:
-
CONNECTION_PASSWORD_OPTIONS_KEY
- See Also:
-
USER_BASE_DN_OPTIONS_KEY
- See Also:
-
USER_FILTER_OPTIONS_KEY
- See Also:
-
USER_SEARCH_SUBTREE_OPTIONS_KEY
- See Also:
-
ROLE_BASE_DN_OPTIONS_KEY
- See Also:
-
ROLE_FILTER_OPTIONS_KEY
- See Also:
-
ROLE_NAME_ATTRIBUTE_OPTIONS_KEY
- See Also:
-
ROLE_SEARCH_SUBTREE_OPTIONS_KEY
- See Also:
-
BIND_METHOD_OPTIONS_KEY
- See Also:
-
REALM_OPTIONS_KEY
- See Also:
-
KDC_ADDRESS_OPTIONS_KEY
- See Also:
-
CONNECTION_POOL_ID_OPTIONS_KEY
- See Also:
-
-
Constructor Details
-
SslLdapLoginModule
public SslLdapLoginModule()
-
-
Method Details
-
doLogin
- Throws:
LoginException
-
getContext
protected org.osgi.framework.BundleContext getContext() -
initialize
-
login
- Throws:
LoginException
-
getDecryptedPassword
-
getEncryptionService
public ddf.security.encryption.EncryptionService getEncryptionService() -
setEncryptionService
public void setEncryptionService(ddf.security.encryption.EncryptionService encryptionService) -
setSecurityLogger
public void setSecurityLogger(ddf.security.audit.SecurityLogger securityLogger) -
setLdapConnectionPool
public void setLdapConnectionPool(org.apache.commons.pool2.impl.GenericObjectPool<org.forgerock.opendj.ldap.Connection> ldapConnectionPool)
-