Version: 5.3.3-ice35-b63
|
model::Session creation service for OMERO. Access to
all other services is dependent upon a properly created and still
active model::Session.
The session uuid (model::Session::getUuid) can be
considered a capability token, or temporary single use password.
Simply by possessing it the client has access to all information
available to the model::Session.
Note: Both the RMI ome.system.ServiceFactory
as well
as the Ice ServiceFactory use
ISession to acquire a
model::Session. In the Ice case, Glacier2
contacts ISession itself and returns a
ServiceFactory remote proxy. From both ServiceFactory
instances, it is possible but not necessary to access
ISession.
Creates a new session and returns it to the user.
Allows a user to open up another session for him/herself with the given defaults without needing to re-enter password.
Allows an admin to create a Session for the give sys::Principal.
Allows an admin to create a model::Session for the given sys::Principal.
Retrieves the session associated with this uuid, updating the last access time as well. Throws a RemovedSessionException if not present, or a SessionTimeoutException if expired. This method can be used as a Session ping.
Retrieves the current reference count for the given uuid. Has the same semantics as getSession.
Closes session and releases all resources. It is preferred that all clients call this method as soon as possible to free memory, but it is possible to not call close, and rejoin a session later. The current reference count for the session is returned. If the session does not exist, -1. If this call caused the death of the session, then -2.
Returns a list of open sessions for the current user. The list is ordered by session creation time, so that the last item was created last.
Like getMyOpenSessions but returns only those sessions with the given agent string.
Like getMyOpenSessions but returns only those sessions started by official OMERO clients.
Retrieves an entry from the given model::Session input environment.
Retrieves an entry from the model::Session output environment.
Places an entry in the given model::Session input environment. If the value is null, the key will be removed.
Places an entry in the given model::Session output environment. If the value is null, the key will be removed.
Retrieves all keys in the model::Session input environment.
a StringSet of keys
Retrieves all keys in the model::Session output environment.
Retrieves all inputs from the given model::Session input environment.
Retrieves all outputs from the given model::Session input environment.
|