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:
- LoginModule
public class JDBCLoginModule
- extends AbstractKarafLoginModule
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PASSWORD_QUERY
public static final String PASSWORD_QUERY
- See Also:
- Constant Field Values
ROLE_QUERY
public static final String ROLE_QUERY
- See Also:
- Constant Field Values
INSERT_USER_STATEMENT
public static final String INSERT_USER_STATEMENT
- See Also:
- Constant Field Values
INSERT_ROLE_STATEMENT
public static final String INSERT_ROLE_STATEMENT
- See Also:
- Constant Field Values
DELETE_ROLE_STATEMENT
public static final String DELETE_ROLE_STATEMENT
- See Also:
- Constant Field Values
DELETE_ROLES_STATEMENT
public static final String DELETE_ROLES_STATEMENT
- See Also:
- Constant Field Values
DELETE_USER_STATEMENT
public static final String DELETE_USER_STATEMENT
- See Also:
- Constant Field Values
passwordQuery
protected String passwordQuery
roleQuery
protected String roleQuery
JDBCLoginModule
public JDBCLoginModule()
initialize
public void initialize(Subject subject,
CallbackHandler callbackHandler,
Map<String,?> sharedState,
Map<String,?> options)
login
public boolean login()
throws LoginException
- Throws:
LoginException
abort
public boolean abort()
throws LoginException
- Throws:
LoginException
logout
public boolean logout()
throws LoginException
- Throws:
LoginException
Copyright © 2007-2012 The Apache Software Foundation. All Rights Reserved.