Hi Achim, for the InMemory implementation I have a similar requirement. I would like to be able to cache the Acls a user has access to.
Would it make sense to provide a hash map in the server support package where you can attach information you want to keep for a "session". I don't have an exact design here in mind but something that uses a key based on ip address and user or a cookie if available. And somehow a way to clean this up (LRU, max size or something). We should add the Servlet request to the call context to make this possible. Would this help for your use case? Jens -----Original Message----- From: Weigel, Achim [mailto:[email protected]] Sent: Montag, 17. Oktober 2011 10:39 To: [email protected] Subject: RE: Stable session id for a OpenCMIS server when using OpenCmis Workbench Perhaps I should add that we are doing this in the method getCallContextMap(HttpServletRequest request) of our CallContextHandler. -----Original Message----- From: Weigel, Achim [mailto:[email protected]] Sent: Montag, 17. Oktober 2011 10:29 To: [email protected] Subject: Stable session id for a OpenCMIS server when using OpenCmis Workbench Hello, we are implementing an (Open)CMIS compliant server and need some kind of session concept for it. We are using the OpenCMIS Workench as client and tried out the following using the atompub binding: We implemented and configured a CallContextHandler and tried to fetch the session id from the request: String sessionId = request.getSession().getId(); Unfortunately the id is different for all requests. Do you perhaps know how we could resolve this? Thank you very much in advance and best regards, Achim
