Class GSSAPILdapLoginModule
- java.lang.Object
-
- org.apache.karaf.jaas.modules.AbstractKarafLoginModule
-
- org.apache.karaf.jaas.modules.ldap.GSSAPILdapLoginModule
-
- All Implemented Interfaces:
LoginModule
public class GSSAPILdapLoginModule extends AbstractKarafLoginModule
Specific LDAPLoginModule to be used with GSSAPI. Uses the specified realm as login context.
-
-
Field Summary
Fields Modifier and Type Field Description static StringREALM_PROPERTY-
Fields inherited from class org.apache.karaf.jaas.modules.AbstractKarafLoginModule
bundleContext, callbackHandler, commitSucceeded, debug, detailedLoginExcepion, options, principals, roleDiscriminator, rolePolicy, subject, succeeded, user
-
-
Constructor Summary
Constructors Constructor Description GSSAPILdapLoginModule()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancommit()protected booleandoLogin()voidinitialize(Subject subject, CallbackHandler callbackHandler, Map<String,?> sharedState, Map<String,?> options)booleanlogin()-
Methods inherited from class org.apache.karaf.jaas.modules.AbstractKarafLoginModule
abort, checkPassword, clear, initialize, logout
-
-
-
-
Field Detail
-
REALM_PROPERTY
public static final String REALM_PROPERTY
- See Also:
- Constant Field Values
-
-
Method Detail
-
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
-
commit
public boolean commit() throws LoginException- Specified by:
commitin interfaceLoginModule- Overrides:
commitin classAbstractKarafLoginModule- Throws:
LoginException
-
-