Package com.soffid.iam.am.service
Interface SessionService
public interface SessionService
Service SessionService
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionvoidcleanTransientKey(long id, String key) Operation cleanTransientKeyvoiddestroySession(Session sessio) Operation destroySessionOperation findActiveSessionsOperation getActiveSessionsgetActiveSessions(long idUsuari) Operation getActiveSessionsgetSession(long id, String key) Operation getSessiongetSessionByHost(long id, String hostIp) Operation getSessionByHostjoinEssoSession(long id, String key, int port) Operation joinEssoSessionregisterBrowserSession(String userName, String browserSerialNumber, String ipAddress, SessionType sessionType, String checkUrl, String pamMonitorUrl, String serviceProvider, String authenticationMethod) Operation registerBrowserSessionregisterSession(String codiUsuari, String hostKey, String clientHost, int port, String key, String authenticationMethod) Operation registerSessionvoidsessionKeepAlive(Session session) Operation sessionKeepAliveupdateTransientKey(long id, String key) Operation updateTransientKey
-
Field Details
-
REMOTE_PATH
- See Also:
-
SERVICE_NAME
- See Also:
-
-
Method Details
-
getSessionByHost
Session getSessionByHost(long id, String hostIp) throws InternalErrorException, InternalErrorException Operation getSessionByHost- Parameters:
id-hostIp-- Returns:
- Throws:
InternalErrorExceptionInternalErrorException
-
getSession
Operation getSession- Parameters:
id-key-- Returns:
- Throws:
InternalErrorExceptionInternalErrorException
-
joinEssoSession
Session joinEssoSession(long id, String key, int port) throws InternalErrorException, InternalErrorException Operation joinEssoSession- Parameters:
id-key-port-- Returns:
- Throws:
InternalErrorExceptionInternalErrorException
-
registerBrowserSession
Session registerBrowserSession(String userName, String browserSerialNumber, String ipAddress, SessionType sessionType, String checkUrl, String pamMonitorUrl, String serviceProvider, String authenticationMethod) throws InternalErrorException, InternalErrorException, UnknownUserException Operation registerBrowserSession- Parameters:
userName-browserSerialNumber-ipAddress-sessionType-checkUrl-pamMonitorUrl-serviceProvider-authenticationMethod-- Returns:
- Throws:
InternalErrorExceptionInternalErrorExceptionUnknownUserException
-
registerSession
Session registerSession(String codiUsuari, String hostKey, String clientHost, int port, String key, String authenticationMethod) throws InternalErrorException, InternalErrorException Operation registerSession- Parameters:
codiUsuari-hostKey-clientHost-port-key-authenticationMethod-- Returns:
- Throws:
InternalErrorExceptionInternalErrorException
-
updateTransientKey
String updateTransientKey(long id, String key) throws InternalErrorException, InternalErrorException Operation updateTransientKey- Parameters:
id-key-- Returns:
- Throws:
InternalErrorExceptionInternalErrorException
-
findActiveSessions
Operation findActiveSessions- Returns:
- Throws:
InternalErrorExceptionInternalErrorException
-
getActiveSessions
Operation getActiveSessions- Returns:
- Throws:
InternalErrorExceptionInternalErrorException
-
getActiveSessions
Collection<Session> getActiveSessions(long idUsuari) throws InternalErrorException, InternalErrorException Operation getActiveSessions- Parameters:
idUsuari-- Returns:
- Throws:
InternalErrorExceptionInternalErrorException
-
cleanTransientKey
Operation cleanTransientKey- Parameters:
id-key-- Throws:
InternalErrorExceptionInternalErrorException
-
destroySession
Operation destroySession- Parameters:
sessio-- Throws:
InternalErrorExceptionInternalErrorException
-
sessionKeepAlive
Operation sessionKeepAlive- Parameters:
session-- Throws:
InternalErrorExceptionInternalErrorException
-