Package com.sun.enterprise.admin.util
Class AdminLoginModule
java.lang.Object
com.sun.enterprise.admin.util.AdminLoginModule
- All Implemented Interfaces:
LoginModule
Handles the non-username/password ways an admin user can authenticate.
As specified by the LoginModule contract, the login method creates lists of principals or credentials to be added to the Subject during commit. Only if commit is invoked does the module actually add them to the Subject.
- Author:
- tjquinn
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
AdminLoginModule
public AdminLoginModule()
-
-
Method Details
-
initialize
public void initialize(Subject subject, CallbackHandler callbackHandler, Map<String, ?> sharedState, Map<String, ?> options) - Specified by:
initializein interfaceLoginModule
-
login
- Specified by:
loginin interfaceLoginModule- Throws:
LoginException
-
commit
- Specified by:
commitin interfaceLoginModule- Throws:
LoginException
-
abort
- Specified by:
abortin interfaceLoginModule- Throws:
LoginException
-
logout
- Specified by:
logoutin interfaceLoginModule- Throws:
LoginException
-