This method accesss the session associated to the received id.
This resets the session last access time and updates the access count.
Parameters: sessionId - the session id previously returned by initiateSession. throws: NoSuchSessionException - if the session id is not valid or the session is not valid.
Gets an SSO session based on its id.
Parameters: sessionId - the session id previously returned by initiateSession. throws: org.josso.gateway.session.exceptions.NoSuchSessionException - if the session id is not related to any sso session.
Gets an SSO session based on the associated user.
Parameters: username - the username used when initiating the session. throws: org.josso.gateway.session.exceptions.NoSuchSessionException - if the session id is not related to any sso session.
Initiates a new session. The session id is returned.
the new session identifier. throws: TooManyOpenSessionsException - if the number of open sessions is exceeded.