public final class ExtensionLoginModule extends Object implements LoginModule
loginModule extension point
to be included in the login configurations.
To include your login module in a login configuration, specify this class as a login module
using its qualified Java name. Options specified for such entry should contain an option named
extensionId set to the qualified ID of the extension describing your login module.
This class should not be extended or instantiated directly.
| Modifier and Type | Field and Description |
|---|---|
static String |
OPTION_MODULE_POINT
The key for the option that specifies an extension describing the actual login module
|
| Constructor and Description |
|---|
ExtensionLoginModule()
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
abort() |
boolean |
commit() |
void |
initialize(Subject subject,
CallbackHandler callbackHandler,
Map sharedState,
Map options) |
boolean |
login() |
boolean |
logout() |
public static final String OPTION_MODULE_POINT
public void initialize(Subject subject, CallbackHandler callbackHandler, Map sharedState, Map 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 LoginModuleLoginException
Copyright (c) 2000, 2014 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.