public class DirectAccessGrantsLoginModule extends AbstractKeycloakLoginModule
AbstractKeycloakLoginModule.Authauth, callbackHandler, deployment, KEYCLOAK_CONFIG_FILE_OPTION, ROLE_PRINCIPAL_CLASS_OPTION, rolePrincipalClass, subject| Constructor and Description |
|---|
DirectAccessGrantsLoginModule() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
commit() |
protected AbstractKeycloakLoginModule.Auth |
directGrantAuth(String username,
String password) |
protected AbstractKeycloakLoginModule.Auth |
doAuth(String username,
String password) |
protected Logger |
getLogger() |
void |
initialize(Subject subject,
CallbackHandler callbackHandler,
Map<String,?> sharedState,
Map<String,?> options) |
boolean |
logout() |
abort, bearerAuth, createRolePrincipal, login, resolveDeploymentpublic void initialize(Subject subject, CallbackHandler callbackHandler, Map<String,?> sharedState, Map<String,?> options)
initialize in interface LoginModuleinitialize in class AbstractKeycloakLoginModuleprotected AbstractKeycloakLoginModule.Auth doAuth(String username, String password) throws IOException, VerificationException
doAuth in class AbstractKeycloakLoginModuleIOExceptionVerificationExceptionprotected Logger getLogger()
getLogger in class AbstractKeycloakLoginModuleprotected AbstractKeycloakLoginModule.Auth directGrantAuth(String username, String password) throws IOException, VerificationException
IOExceptionVerificationExceptionpublic boolean commit()
throws LoginException
commit in interface LoginModulecommit in class AbstractKeycloakLoginModuleLoginExceptionpublic boolean logout()
throws LoginException
logout in interface LoginModulelogout in class AbstractKeycloakLoginModuleLoginExceptionCopyright © 2017 JBoss by Red Hat. All rights reserved.