@Component public class LegacyUserManagerImpl extends ManagerHelperImpl<User> implements LegacyUserManager
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
classType |
Constructor and Description |
---|
LegacyUserManagerImpl() |
Modifier and Type | Method and Description |
---|---|
AuthenticationData |
authenticateLegacyUser(java.lang.String loginName,
java.lang.String password,
boolean rememberMe)
Authenticates the provided credentials in the legacy database user table
|
LegacyUser |
findLegacyUserByLogin(java.lang.String loginName)
Returns the User in legacy database with the provided login name
|
createExternalReferenceFor
public AuthenticationData authenticateLegacyUser(java.lang.String loginName, java.lang.String password, boolean rememberMe) throws AuthenticationException, java.lang.IllegalArgumentException, NotFoundException
LegacyUserManager
authenticateLegacyUser
in interface LegacyUserManager
loginName
- User's login namepassword
- User's passwordrememberMe
- true when applicable, create a cookie for this user; otherwise falseAuthenticationException
java.lang.IllegalArgumentException
NotFoundException
public LegacyUser findLegacyUserByLogin(java.lang.String loginName) throws NotFoundException
LegacyUserManager
findLegacyUserByLogin
in interface LegacyUserManager
loginName
- The legacy user's login nameNotFoundException
- No user is found with that login name.