org.bonitasoft.engine.api.impl
public class LoginAPIImpl extends AbstractLoginApiImpl implements LoginAPI
| Constructor and Description |
|---|
LoginAPIImpl() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
checkUsernameAndPassword(String userName,
String password) |
protected TenantServiceAccessor |
getTenantServiceAccessor(long tenantId) |
APISession |
login(String userName,
String password) |
protected APISession |
login(String userName,
String password,
Long tenantId) |
void |
logout(APISession session) |
putPlatformInCacheIfNecessarypublic APISession login(String userName, String password) throws LoginException
login in interface LoginAPILoginExceptionprotected void checkUsernameAndPassword(String userName, String password) throws LoginException
LoginExceptionprotected APISession login(String userName, String password, Long tenantId) throws Throwable
Throwableprotected TenantServiceAccessor getTenantServiceAccessor(long tenantId)
public void logout(APISession session) throws LogoutException, SessionNotFoundException
logout in interface LoginAPILogoutExceptionSessionNotFoundExceptionCopyright © 2014 Bonitasoft S.A.. All Rights Reserved.