public class SecuredLoginServiceImpl extends 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(Map<String,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(Map<String,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 LoginServiceCopyright © 2018 Bonitasoft S.A.. All rights reserved.