public class FileLoginModule extends Object implements LoginModule
| Modifier and Type | Field and Description |
|---|---|
static String |
KEY_USER_FILE
Option key for the user file.
|
| Constructor and Description |
|---|
FileLoginModule() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
abort() |
boolean |
commit() |
Callback[] |
configureCallbacks() |
void |
initialize(Subject subject,
CallbackHandler callbackHandler,
Map<String,?> sharedState,
Map<String,?> options) |
boolean |
login() |
boolean |
logout() |
public static String KEY_USER_FILE
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 LoginModuleLoginExceptionpublic Callback[] configureCallbacks()
Copyright © 2012. All Rights Reserved.