Class ExtensionLoginModule
java.lang.Object
org.eclipse.equinox.security.auth.module.ExtensionLoginModule
- All Implemented Interfaces:
LoginModule
This class allows login modules specified via
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.
- Restriction:
- This class is not intended to be instantiated by clients.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
The key for the option that specifies an extension describing the actual login module -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
OPTION_MODULE_POINT
The key for the option that specifies an extension describing the actual login module- See Also:
-
-
Constructor Details
-
ExtensionLoginModule
public ExtensionLoginModule()Constructor
-
-
Method Details
-
initialize
public void initialize(Subject subject, CallbackHandler callbackHandler, Map<String, ?> sharedState, Map<String, ?> options) - Specified by:
initialize
in interfaceLoginModule
-
login
- Specified by:
login
in interfaceLoginModule
- Throws:
LoginException
-
commit
- Specified by:
commit
in interfaceLoginModule
- Throws:
LoginException
-
abort
- Specified by:
abort
in interfaceLoginModule
- Throws:
LoginException
-
logout
- Specified by:
logout
in interfaceLoginModule
- Throws:
LoginException
-