Package com.soffid.iam.service
Interface SessionService
-
public interface SessionService
Service SessionService
-
-
Field Summary
Fields Modifier and Type Field Description static String
REMOTE_PATH
static String
SERVICE_NAME
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
cleanTransientKey(long id, String key)
Operation cleanTransientKeyvoid
destroySession(Session sessio)
Operation destroySessionCollection<Session>
findActiveSessions()
Operation findActiveSessionsCollection<Session>
getActiveSessions()
Operation getActiveSessionsCollection<Session>
getActiveSessions(long idUsuari)
Operation getActiveSessionsSession
getSession(long id, String key)
Operation getSessionSession
getSessionByHost(long id, String hostIp)
Operation getSessionByHostSession
registerSession(String codiUsuari, String nomMaquina, String nomAquinaClient, int port, String key, String authenticationMethod)
Operation registerSessionSession
registerWebSession(String codiUsuari, String nomMaquina, String nomMaquinaClient, String url, String authenticationMethod)
Operation registerWebSessionvoid
sessionKeepAlive(Session session)
Operation sessionKeepAliveString
updateTransientKey(long id, String key)
Operation updateTransientKey
-
-
-
Field Detail
-
REMOTE_PATH
static final String REMOTE_PATH
- See Also:
- Constant Field Values
-
SERVICE_NAME
static final String SERVICE_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
getSessionByHost
Session getSessionByHost(long id, String hostIp) throws InternalErrorException, InternalErrorException
Operation getSessionByHost- Parameters:
id
-hostIp
-- Returns:
- Throws:
InternalErrorException
-
getSession
Session getSession(long id, String key) throws InternalErrorException, InternalErrorException
Operation getSession- Parameters:
id
-key
-- Returns:
- Throws:
InternalErrorException
-
registerSession
Session registerSession(String codiUsuari, String nomMaquina, String nomAquinaClient, int port, String key, String authenticationMethod) throws InternalErrorException, InternalErrorException
Operation registerSession- Parameters:
codiUsuari
-nomMaquina
-nomAquinaClient
-port
-key
-authenticationMethod
-- Returns:
- Throws:
InternalErrorException
-
registerWebSession
Session registerWebSession(String codiUsuari, String nomMaquina, String nomMaquinaClient, String url, String authenticationMethod) throws InternalErrorException, InternalErrorException, UnknownUserException
Operation registerWebSession- Parameters:
codiUsuari
-nomMaquina
-nomMaquinaClient
-url
-authenticationMethod
-- Returns:
- Throws:
InternalErrorException
UnknownUserException
-
updateTransientKey
String updateTransientKey(long id, String key) throws InternalErrorException, InternalErrorException
Operation updateTransientKey- Parameters:
id
-key
-- Returns:
- Throws:
InternalErrorException
-
findActiveSessions
Collection<Session> findActiveSessions() throws InternalErrorException, InternalErrorException
Operation findActiveSessions- Returns:
- Throws:
InternalErrorException
-
getActiveSessions
Collection<Session> getActiveSessions() throws InternalErrorException, InternalErrorException
Operation getActiveSessions- Returns:
- Throws:
InternalErrorException
-
getActiveSessions
Collection<Session> getActiveSessions(long idUsuari) throws InternalErrorException, InternalErrorException
Operation getActiveSessions- Parameters:
idUsuari
-- Returns:
- Throws:
InternalErrorException
-
cleanTransientKey
void cleanTransientKey(long id, String key) throws InternalErrorException, InternalErrorException
Operation cleanTransientKey- Parameters:
id
-key
-- Throws:
InternalErrorException
-
destroySession
void destroySession(Session sessio) throws InternalErrorException, InternalErrorException
Operation destroySession- Parameters:
sessio
-- Throws:
InternalErrorException
-
sessionKeepAlive
void sessionKeepAlive(Session session) throws InternalErrorException, InternalErrorException
Operation sessionKeepAlive- Parameters:
session
-- Throws:
InternalErrorException
-
-