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 LoginModule
public boolean login() throws LoginException
login
in interface LoginModule
LoginException
public boolean commit() throws LoginException
commit
in interface LoginModule
LoginException
public boolean abort() throws LoginException
abort
in interface LoginModule
LoginException
public boolean logout() throws LoginException
logout
in interface LoginModule
LoginException
Copyright (c) 2000, 2014 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.