[ome-devel] Launching VisBio from the OME web interface

Harry Hochheiser hsh at nih.gov
Fri Apr 8 19:53:54 BST 2005


Curtis:
> 1) I like the idea of passing the session key to VisBio instead of 
> username. I checked the ome-java API and it does not look like there 
> is currently a way to specify a session key. However, 
> org.openmicroscopy.ds.XmlRpcCaller does have an internal sessionKey 
> field, which can be retrieved with getSessionKey, and which is used 
> everywhere for authentication. It is simply missing the corresponding 
> setSessionKey(String) method. Harry, do you or anyone else know if 
> adding a setSessionKey method to the RemoteCaller interface and 
> putting a simple implementation into XmlRpcCaller would pose a 
> problem? If not, I will give it a try and see if it works.
>

shouldn't be a problem. the session key gets passed into every request, 
but the protocol is otherwise stateless. As long as it's a valid key, 
it should be fine.

we'd probably want to expose this at a higher level than xmlrpc caller. 
Probbably in DataServices, perhaps wrapped by a manager - 
SessionManager, maybe?

harry



More information about the ome-devel mailing list