public class TomcatRealmLoginModule extends Object implements LoginModule
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
committed |
protected Principal |
principal |
protected Principal |
rolePrincipal |
| Constructor and Description |
|---|
TomcatRealmLoginModule() |
protected boolean committed
protected Principal principal
protected Principal rolePrincipal
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–2016 JBoss by Red Hat. All rights reserved.