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 LoginModule
LoginException
public boolean commit() throws LoginException
commit
in interface LoginModule
LoginException
public void initialize(Subject subject, CallbackHandler callbackHandler, Map<String,?> sharedState, Map<String,?> options)
initialize
in interface LoginModule
public boolean login() throws LoginException
login
in interface LoginModule
LoginException
public boolean logout() throws LoginException
logout
in interface LoginModule
LoginException
protected TopicMapIF getTopicMap()