public class TomcatRealmLoginModule extends Object implements LoginModule
| Modifier and Type | Field and Description |
|---|---|
protected Principal |
clientPrincipal |
protected boolean |
committed |
protected Principal |
principal |
protected Principal |
rolePrincipal |
| Constructor and Description |
|---|
TomcatRealmLoginModule() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
abort() |
boolean |
commit() |
void |
initialize(Subject subject,
CallbackHandler callbackHandler,
Map<String,?> sharedState,
Map<String,?> options) |
boolean |
login() |
boolean |
logout() |
static void |
setRealm(org.apache.catalina.Realm realm) |
protected boolean committed
protected Principal principal
protected Principal rolePrincipal
protected Principal clientPrincipal
public static void setRealm(org.apache.catalina.Realm realm)
public void initialize(Subject subject, CallbackHandler callbackHandler, Map<String,?> sharedState, Map<String,?> options)
initialize in interface LoginModulepublic boolean login()
throws LoginException
login in interface LoginModuleLoginExceptionpublic boolean commit()
throws LoginException
commit in interface LoginModuleLoginExceptionpublic boolean abort()
throws LoginException
abort in interface LoginModuleLoginExceptionpublic boolean logout()
throws LoginException
logout in interface LoginModuleLoginExceptionCopyright © 2001–2019 JBoss by Red Hat. All rights reserved.