org.eclipse.higgins.user.idas.loginModule
Class UserNamePasswordModuleOld
java.lang.Object
org.eclipse.higgins.user.idas.loginModule.UserNamePasswordModuleOld
- All Implemented Interfaces:
- LoginModule
public class UserNamePasswordModuleOld
- extends Object
- implements LoginModule
This module performs authentication using old logic, using id of
IEntity of user account(profile) instead of login attribute. In
this case user Id = "urn:" + login (because EntityId was URI in
old IdAS model)
UserNamePasswordModuleOld
public UserNamePasswordModuleOld()
abort
public boolean abort()
throws LoginException
- Specified by:
abort in interface LoginModule
- Throws:
LoginException
commit
public boolean commit()
throws LoginException
- Specified by:
commit in interface LoginModule
- Throws:
LoginException
initialize
public void initialize(Subject subject,
CallbackHandler callbackHandler,
Map sharedState,
Map options)
- Specified by:
initialize in interface LoginModule
login
public boolean login()
throws LoginException
- Specified by:
login in interface LoginModule
- Throws:
LoginException
logout
public boolean logout()
throws LoginException
- Specified by:
logout in interface LoginModule
- Throws:
LoginException