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 void
handleCleanTransientKey(long id, String key)
protected void
handleDestroySession(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.Session
handleGetSession(long id, String key)
protected com.soffid.iam.api.Session
handleGetSessionByHost(long id, String hostIp)
protected com.soffid.iam.api.Session
handleRegisterSession(String codiUsuari, String nomMaquina, String nomMaquinaClient, int port, String key, String authenticationMethod)
protected com.soffid.iam.api.Session
handleRegisterWebSession(String codiUsuari, String nomMaquina, String nomMaquinaClient, String url, String authenticationMethod)
protected void
handleSessionKeepAlive(com.soffid.iam.api.Session session)
protected String
handleUpdateTransientKey(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:
FileNotFoundException
IOException
-
-
Method Detail
-
handleRegisterWebSession
protected com.soffid.iam.api.Session handleRegisterWebSession(String codiUsuari, String nomMaquina, String nomMaquinaClient, String url, String authenticationMethod) throws Exception
- Specified by:
handleRegisterWebSession
in 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:
handleGetSession
in 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:
handleSessionKeepAlive
in 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:
handleDestroySession
in 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:
handleRegisterSession
in classSessionServiceBase
- Throws:
Exception
-
handleUpdateTransientKey
protected String handleUpdateTransientKey(long id, String key) throws Exception
- Specified by:
handleUpdateTransientKey
in classSessionServiceBase
- Throws:
Exception
-
handleGetActiveSessions
protected Collection<com.soffid.iam.api.Session> handleGetActiveSessions() throws Exception
- Specified by:
handleGetActiveSessions
in classSessionServiceBase
- Throws:
Exception
-
handleGetActiveSessions
protected Collection<com.soffid.iam.api.Session> handleGetActiveSessions(long idUsuari) throws Exception
- Specified by:
handleGetActiveSessions
in classSessionServiceBase
- Throws:
Exception
-
handleCleanTransientKey
protected void handleCleanTransientKey(long id, String key) throws Exception
- Specified by:
handleCleanTransientKey
in classSessionServiceBase
- Throws:
Exception
-
handleGetSessionByHost
protected com.soffid.iam.api.Session handleGetSessionByHost(long id, String hostIp) throws Exception
- Specified by:
handleGetSessionByHost
in classSessionServiceBase
- Throws:
Exception
-
handleFindActiveSessions
protected Collection<com.soffid.iam.api.Session> handleFindActiveSessions() throws Exception
- Specified by:
handleFindActiveSessions
in classSessionServiceBase
- Throws:
Exception
-
-