public class SecuredLoginServiceImpl extends java.lang.Object implements LoginService
| Constructor and Description |
|---|
SecuredLoginServiceImpl(GenericAuthenticationService authenticationService,
SessionService sessionService,
IdentityService identityService,
TechnicalLoggerService tenantTechnicalLoggerService,
TechnicalUser technicalUser,
ProfileService profileService) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isValid(long sessionId) |
SSession |
login(java.util.Map<java.lang.String,java.io.Serializable> credentials)
generic login approach to handle outer authentication service like CAS or OAuth or whatever...
|
void |
logout(long sessionId) |
public SecuredLoginServiceImpl(GenericAuthenticationService authenticationService, SessionService sessionService, IdentityService identityService, TechnicalLoggerService tenantTechnicalLoggerService, TechnicalUser technicalUser, ProfileService profileService)
public SSession login(java.util.Map<java.lang.String,java.io.Serializable> credentials) throws SLoginException, SUserNotFoundException
LoginServicelogin in interface LoginServicecredentials - the parameters to use to loginSLoginException - if login failsSUserNotFoundException - if the user does not exist in the databasepublic void logout(long sessionId)
throws SSessionNotFoundException
logout in interface LoginServiceSSessionNotFoundExceptionpublic boolean isValid(long sessionId)
isValid in interface LoginService