[seek-dev] [Bug 1694] - Modify get and query interfaces to accept sessionId to allow for access to private records

bugzilla-daemon@ecoinformatics.org bugzilla-daemon at ecoinformatics.org
Fri Sep 17 14:54:11 PDT 2004


http://bugzilla.ecoinformatics.org/show_bug.cgi?id=1694

jones at nceas.ucsb.edu changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|jones at nceas.ucsb.edu        |tao at nceas.ucsb.edu
   Target Milestone|Unspecified                 |ecogrid-1.0.0



------- Additional Comments From jones at nceas.ucsb.edu  2004-09-17 14:54 -------
Yes, I think we should modify the level I interface.  I also think we should
modify the get and query operations to take a sessionId, rather than creating
two new operations.  In this case, if a client wanted to query anonomously, they
would pass a 'null' value for a sesssionId. Or I suppose they could be required
to login using a reserved username that symbolizes 'anonymous' (e.g., 'public')
and that doesn't require a password, then use the resulting sessionId.  This
would be nice because it would mean a valid session is available for every
EcoGrid connection, whether anonymous or authenticated, which makes for a nice
place to store and cache things about the session (such as query results) on the
server side.  I think there are arguments for having anonymous get(id) be
separate from authenticated get(id, sessionid), but I think its better to only
have one method.



More information about the Seek-dev mailing list