Package com.soffid.iam.service
Class SessionServiceImpl
- java.lang.Object
-
- com.soffid.iam.service.SessionServiceBase
-
- com.soffid.iam.service.SessionServiceImpl
-
- All Implemented Interfaces:
com.soffid.iam.service.SessionService
public class SessionServiceImpl extends SessionServiceBase
- See Also:
es.caib.seycon.ng.sync.servei.SessioService
-
-
Constructor Summary
Constructors Constructor Description SessionServiceImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidhandleCleanTransientKey(long id, String key)protected voidhandleDestroySession(com.soffid.iam.api.Session sessio)protected Collection<com.soffid.iam.api.Session>handleFindActiveSessions()protected Collection<com.soffid.iam.api.Session>handleGetActiveSessions()protected Collection<com.soffid.iam.api.Session>handleGetActiveSessions(long idUsuari)protected com.soffid.iam.api.SessionhandleGetSession(long id, String key)protected com.soffid.iam.api.SessionhandleGetSessionByHost(long id, String hostIp)protected com.soffid.iam.api.SessionhandleRegisterSession(String codiUsuari, String nomMaquina, String nomMaquinaClient, int port, String key, String authenticationMethod)protected com.soffid.iam.api.SessionhandleRegisterWebSession(String codiUsuari, String nomMaquina, String nomMaquinaClient, String url, String authenticationMethod)protected voidhandleSessionKeepAlive(com.soffid.iam.api.Session session)protected StringhandleUpdateTransientKey(long id, String key)-
Methods inherited from class com.soffid.iam.service.SessionServiceBase
cleanTransientKey, destroySession, findActiveSessions, getAccessLogEntityDao, getAccountEntityDao, getActiveSessions, getActiveSessions, getHostEntityDao, getPrincipal, getServiceEntityDao, getSession, getSessionByHost, getSessionEntityDao, getUserEntityDao, registerSession, registerWebSession, sessionKeepAlive, setAccessLogEntityDao, setAccountEntityDao, setHostEntityDao, setServiceEntityDao, setSessionEntityDao, setUserEntityDao, updateTransientKey
-
-
-
-
Constructor Detail
-
SessionServiceImpl
public SessionServiceImpl() throws FileNotFoundException, IOException- Throws:
FileNotFoundExceptionIOException
-
-
Method Detail
-
handleRegisterWebSession
protected com.soffid.iam.api.Session handleRegisterWebSession(String codiUsuari, String nomMaquina, String nomMaquinaClient, String url, String authenticationMethod) throws Exception
- Specified by:
handleRegisterWebSessionin classSessionServiceBase- Throws:
Exception- See Also:
es.caib.seycon.ng.sync.servei.SessioService#registraSessioWeb(java.lang.String, java.lang.String, java.lang.String, java.lang.String)
-
handleGetSession
protected com.soffid.iam.api.Session handleGetSession(long id, String key) throws Exception- Specified by:
handleGetSessionin classSessionServiceBase- Throws:
Exception- See Also:
es.caib.seycon.ng.sync.servei.SessioService#getSessionByKey(java.lang.String)
-
handleSessionKeepAlive
protected void handleSessionKeepAlive(com.soffid.iam.api.Session session) throws Exception- Specified by:
handleSessionKeepAlivein classSessionServiceBase- Throws:
Exception- See Also:
es.caib.seycon.ng.sync.servei.SessioService#sessioKeepAlive(java.lang.String)
-
handleDestroySession
protected void handleDestroySession(com.soffid.iam.api.Session sessio) throws Exception- Specified by:
handleDestroySessionin classSessionServiceBase- Throws:
Exception
-
handleRegisterSession
protected com.soffid.iam.api.Session handleRegisterSession(String codiUsuari, String nomMaquina, String nomMaquinaClient, int port, String key, String authenticationMethod) throws Exception
- Specified by:
handleRegisterSessionin classSessionServiceBase- Throws:
Exception
-
handleUpdateTransientKey
protected String handleUpdateTransientKey(long id, String key) throws Exception
- Specified by:
handleUpdateTransientKeyin classSessionServiceBase- Throws:
Exception
-
handleGetActiveSessions
protected Collection<com.soffid.iam.api.Session> handleGetActiveSessions() throws Exception
- Specified by:
handleGetActiveSessionsin classSessionServiceBase- Throws:
Exception
-
handleGetActiveSessions
protected Collection<com.soffid.iam.api.Session> handleGetActiveSessions(long idUsuari) throws Exception
- Specified by:
handleGetActiveSessionsin classSessionServiceBase- Throws:
Exception
-
handleCleanTransientKey
protected void handleCleanTransientKey(long id, String key) throws Exception- Specified by:
handleCleanTransientKeyin classSessionServiceBase- Throws:
Exception
-
handleGetSessionByHost
protected com.soffid.iam.api.Session handleGetSessionByHost(long id, String hostIp) throws Exception- Specified by:
handleGetSessionByHostin classSessionServiceBase- Throws:
Exception
-
handleFindActiveSessions
protected Collection<com.soffid.iam.api.Session> handleFindActiveSessions() throws Exception
- Specified by:
handleFindActiveSessionsin classSessionServiceBase- Throws:
Exception
-
-