org.apache.karaf.jaas.modules.properties
Class PropertiesLoginModule
java.lang.Object
org.apache.karaf.jaas.modules.AbstractKarafLoginModule
org.apache.karaf.jaas.modules.properties.PropertiesLoginModule
- All Implemented Interfaces:
- javax.security.auth.spi.LoginModule
public class PropertiesLoginModule
- extends AbstractKarafLoginModule
JAAS Login module for user / password, based on two properties files.
- Author:
- gnodet, jbonofre
Method Summary |
boolean |
abort()
|
void |
initialize(javax.security.auth.Subject sub,
javax.security.auth.callback.CallbackHandler handler,
java.util.Map sharedState,
java.util.Map options)
|
boolean |
login()
|
boolean |
logout()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PropertiesLoginModule
public PropertiesLoginModule()
initialize
public void initialize(javax.security.auth.Subject sub,
javax.security.auth.callback.CallbackHandler handler,
java.util.Map sharedState,
java.util.Map options)
login
public boolean login()
throws javax.security.auth.login.LoginException
- Throws:
javax.security.auth.login.LoginException
abort
public boolean abort()
throws javax.security.auth.login.LoginException
- Throws:
javax.security.auth.login.LoginException
logout
public boolean logout()
throws javax.security.auth.login.LoginException
- Throws:
javax.security.auth.login.LoginException
Copyright © 2007-2011 Apache Software Foundation. All Rights Reserved.