org.apache.karaf.jaas.modules.jdbc
Class JDBCLoginModule
java.lang.Object
org.apache.karaf.jaas.modules.AbstractKarafLoginModule
org.apache.karaf.jaas.modules.jdbc.JDBCLoginModule
- All Implemented Interfaces:
- javax.security.auth.spi.LoginModule
public class JDBCLoginModule
- extends AbstractKarafLoginModule
- Author:
- iocanel
Method Summary |
boolean |
abort()
|
void |
initialize(javax.security.auth.Subject subject,
javax.security.auth.callback.CallbackHandler callbackHandler,
java.util.Map<java.lang.String,?> sharedState,
java.util.Map<java.lang.String,?> options)
|
boolean |
login()
|
boolean |
logout()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PASSWORD_QUERY
public static final java.lang.String PASSWORD_QUERY
- See Also:
- Constant Field Values
ROLE_QUERY
public static final java.lang.String ROLE_QUERY
- See Also:
- Constant Field Values
INSERT_USER_STATEMENT
public static final java.lang.String INSERT_USER_STATEMENT
- See Also:
- Constant Field Values
INSERT_ROLE_STATEMENT
public static final java.lang.String INSERT_ROLE_STATEMENT
- See Also:
- Constant Field Values
DELETE_ROLE_STATEMENT
public static final java.lang.String DELETE_ROLE_STATEMENT
- See Also:
- Constant Field Values
DELETE_ROLES_STATEMENT
public static final java.lang.String DELETE_ROLES_STATEMENT
- See Also:
- Constant Field Values
DELETE_USER_STATEMENT
public static final java.lang.String DELETE_USER_STATEMENT
- See Also:
- Constant Field Values
passwordQuery
protected java.lang.String passwordQuery
roleQuery
protected java.lang.String roleQuery
JDBCLoginModule
public JDBCLoginModule()
initialize
public void initialize(javax.security.auth.Subject subject,
javax.security.auth.callback.CallbackHandler callbackHandler,
java.util.Map<java.lang.String,?> sharedState,
java.util.Map<java.lang.String,?> 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.