public class JDBCLoginModule extends AbstractKarafLoginModule
| Modifier and Type | Field and Description |
|---|---|
static String |
DELETE_ROLE_STATEMENT |
static String |
DELETE_ROLES_STATEMENT |
static String |
DELETE_USER_STATEMENT |
static String |
INSERT_ROLE_STATEMENT |
static String |
INSERT_USER_STATEMENT |
static String |
PASSWORD_QUERY |
protected String |
passwordQuery |
static String |
ROLE_QUERY |
protected String |
roleQuery |
static String |
USER_QUERY |
bundleContext, callbackHandler, commitSucceeded, debug, detailedLoginExcepion, options, principals, roleDiscriminator, rolePolicy, subject, succeeded, user| Constructor and Description |
|---|
JDBCLoginModule() |
| Modifier and Type | Method and Description |
|---|---|
void |
initialize(Subject subject,
CallbackHandler callbackHandler,
Map<String,?> sharedState,
Map<String,?> options) |
boolean |
login() |
abort, checkPassword, clear, commit, initialize, logoutpublic static final String PASSWORD_QUERY
public static final String USER_QUERY
public static final String ROLE_QUERY
public static final String INSERT_USER_STATEMENT
public static final String INSERT_ROLE_STATEMENT
public static final String DELETE_ROLE_STATEMENT
public static final String DELETE_ROLES_STATEMENT
public static final String DELETE_USER_STATEMENT
protected String passwordQuery
protected String roleQuery
public void initialize(Subject subject, CallbackHandler callbackHandler, Map<String,?> sharedState, Map<String,?> options)
public boolean login()
throws LoginException
LoginExceptionCopyright © 2007–2019 The Apache Software Foundation. All rights reserved.