public abstract class AbstractKarafLoginModule extends Object implements LoginModule
| Modifier and Type | Field and Description |
|---|---|
protected org.osgi.framework.BundleContext |
bundleContext
the bundle context is required to use the encryption service
|
protected CallbackHandler |
callbackHandler |
protected boolean |
debug |
protected boolean |
detailedLoginExcepion |
protected Map<String,?> |
options |
protected Set<Principal> |
principals |
protected String |
roleDiscriminator |
protected String |
rolePolicy |
protected Subject |
subject |
protected String |
user |
| Constructor and Description |
|---|
AbstractKarafLoginModule() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
checkPassword(String plain,
String encrypted) |
protected void |
clear() |
boolean |
commit() |
String |
getEncryptedPassword(String password) |
void |
initialize(Subject sub,
CallbackHandler handler,
Map options) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitabort, initialize, login, logoutprotected Subject subject
protected String user
protected CallbackHandler callbackHandler
protected boolean debug
protected String rolePolicy
protected String roleDiscriminator
protected boolean detailedLoginExcepion
protected org.osgi.framework.BundleContext bundleContext
public boolean commit()
throws LoginException
commit in interface LoginModuleLoginExceptionprotected void clear()
public void initialize(Subject sub, CallbackHandler handler, Map options)
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.