public class TMLoginModule extends Object implements LoginModule
| Modifier and Type | Field and Description |
|---|---|
protected String |
topicmapId |
| Constructor and Description |
|---|
TMLoginModule() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
abort() |
boolean |
commit()
Add relevant Principals to the subject.
|
protected TopicMapIF |
getTopicMap() |
static String |
hashPassword(String username,
String password,
String hashMethod) |
void |
initialize(Subject subject,
CallbackHandler callbackHandler,
Map<String,?> sharedState,
Map<String,?> options) |
boolean |
login()
Prompt the user for username and password, and verify those.
|
boolean |
logout() |
protected String topicmapId
public boolean abort()
throws LoginException
abort in interface LoginModuleLoginExceptionpublic boolean commit()
throws LoginException
commit in interface LoginModuleLoginExceptionpublic 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 logout()
throws LoginException
logout in interface LoginModuleLoginExceptionprotected TopicMapIF getTopicMap()