Class ExtensionLoginModule
- java.lang.Object
-
- org.eclipse.equinox.security.auth.module.ExtensionLoginModule
-
- All Implemented Interfaces:
LoginModule
public final class ExtensionLoginModule extends Object implements LoginModule
This class allows login modules specified vialoginModuleextension 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
extensionIdset to the qualified ID of the extension describing your login module.This class should not be extended or instantiated directly.
- Restriction:
- This class is not intended to be instantiated by clients.
-
-
Field Summary
Fields Modifier and Type Field Description static StringOPTION_MODULE_POINTThe key for the option that specifies an extension describing the actual login module
-
Constructor Summary
Constructors Constructor Description ExtensionLoginModule()Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanabort()booleancommit()voidinitialize(Subject subject, CallbackHandler callbackHandler, Map<String,?> sharedState, Map<String,?> options)booleanlogin()booleanlogout()
-
-
-
Field Detail
-
OPTION_MODULE_POINT
public static final String OPTION_MODULE_POINT
The key for the option that specifies an extension describing the actual login module- See Also:
- Constant Field Values
-
-
Method Detail
-
initialize
public void initialize(Subject subject, CallbackHandler callbackHandler, Map<String,?> sharedState, Map<String,?> options)
- Specified by:
initializein interfaceLoginModule
-
login
public boolean login() throws LoginException- Specified by:
loginin interfaceLoginModule- Throws:
LoginException
-
commit
public boolean commit() throws LoginException- Specified by:
commitin interfaceLoginModule- Throws:
LoginException
-
abort
public boolean abort() throws LoginException- Specified by:
abortin interfaceLoginModule- Throws:
LoginException
-
logout
public boolean logout() throws LoginException- Specified by:
logoutin interfaceLoginModule- Throws:
LoginException
-
-