public interface PlatformLoginService
| Modifier and Type | Method and Description |
|---|---|
boolean |
isValid(long sessionId)
Verify if a session is valid
|
SPlatformSession |
login(String userName,
String password)
login to the platform by userName and password
|
void |
logout(long sessionId)
logout the platform by sessionId
|
SPlatformSession login(String userName, String password) throws SPlatformLoginException, SInvalidPlatformCredentialsException
userName - name of userpassword - password of userSPlatformLoginExceptionSInvalidPlatformCredentialsExceptionSPlatformSessionvoid logout(long sessionId)
throws SSessionNotFoundException
sessionId - identifier of platform sessionSSessionNotFoundExceptionboolean isValid(long sessionId)
sessionId - identifier of platform sessionCopyright © 2019 Bonitasoft S.A.. All rights reserved.