public interface LoginService
| 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) |
SSession login(java.util.Map<java.lang.String,java.io.Serializable> credentials) throws SLoginException, SUserNotFoundException
credentials - the parameters to use to loginSLoginException - if login failsSUserNotFoundException - if the user does not exist in the databaseboolean isValid(long sessionId)
void logout(long sessionId)
throws SLoginException,
SSessionNotFoundException