Package org.bonitasoft.engine.core.login
Interface LoginService
-
- All Known Implementing Classes:
SecuredLoginServiceImpl
public interface LoginService- Author:
- Matthieu Chaffotte
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanisValid(long sessionId)SSessionlogin(java.util.Map<java.lang.String,java.io.Serializable> credentials)generic login approach to handle outer authentication service like CAS or OAuth or whatever...voidlogout(long sessionId)
-
-
-
Method Detail
-
login
SSession login(java.util.Map<java.lang.String,java.io.Serializable> credentials) throws SLoginException, SUserNotFoundException
generic login approach to handle outer authentication service like CAS or OAuth or whatever...- Parameters:
credentials- the parameters to use to login- Returns:
- the session created if login succeeds
- Throws:
SLoginException- if login failsSUserNotFoundException- if the user does not exist in the database
-
isValid
boolean isValid(long sessionId)
-
logout
void logout(long sessionId) throws SLoginException, SSessionNotFoundException
-
-