org.apache.karaf.jaas.modules
Class AbstractKarafLoginModule
java.lang.Object
org.apache.karaf.jaas.modules.AbstractKarafLoginModule
- All Implemented Interfaces:
- LoginModule
- Direct Known Subclasses:
- JDBCLoginModule, LDAPLoginModule, OsgiConfigLoginModule, PropertiesLoginModule, PublickeyLoginModule
public abstract class AbstractKarafLoginModule
- extends Object
- implements LoginModule
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
principals
protected Set<Principal> principals
subject
protected Subject subject
user
protected String user
callbackHandler
protected CallbackHandler callbackHandler
debug
protected boolean debug
options
protected Map<String,?> options
rolePolicy
protected String rolePolicy
roleDiscriminator
protected String roleDiscriminator
detailedLoginExcepion
protected boolean detailedLoginExcepion
bundleContext
protected org.osgi.framework.BundleContext bundleContext
- the bundle context is required to use the encryption service
AbstractKarafLoginModule
public AbstractKarafLoginModule()
commit
public boolean commit()
throws LoginException
- Specified by:
commit in interface LoginModule
- Throws:
LoginException
clear
protected void clear()
initialize
public void initialize(Subject sub,
CallbackHandler handler,
Map options)
getEncryptedPassword
public String getEncryptedPassword(String password)
checkPassword
public boolean checkPassword(String plain,
String encrypted)
Copyright © 2007-2012 The Apache Software Foundation. All Rights Reserved.