Class CustomLoginModule
java.lang.Object
org.apache.jackrabbit.oak.exercise.security.authentication.CustomLoginModule
- All Implemented Interfaces:
LoginModule
A custom login module for test purposes.
EXERCISE: complete the implementation
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
CustomLoginModule
public CustomLoginModule() -
CustomLoginModule
-
-
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
-