Alfresco discussion and collaboration. Stick around a few hours after asking a question.
Official support for Enterprise subscribers: support.alfresco.com.
Join in the conversation by getting an IRC client and connecting to #alfresco at Freenode. Our you can use the IRC web chat.
More information about the channel is in the wiki.
More help is available in this list of resources.
2019-07-17 05:53:36 GMT <alfresco-discord> <MorganP> You can't just set the cookie at the LB level if it doesn't exist?
2019-07-17 05:54:01 GMT <alfresco-discord> <MorganP> Or is APS just creating a new session for each call?
2019-07-17 08:59:21 GMT <AFaust> For pete's sake, even though the OpenCMIS integration in Alfresco has a property to activate HTTP session cookies, the logic that evaluates that is explicitely not being called / included in Public API CMIS endpoints (because it is mixed within some auth logic, and no one at Alfresco bothered to separate that apparently)
2019-07-17 09:00:58 GMT <AFaust> MorganP: APS is just using plain CMIS - they are creating a CMIS session per service task invocation, which is reused for multiple calls. But by default, a CMIS session does not have a HTTP session associated to it, both due to APS not configuring cookies to be managed in a CMIS sessions, and Alfresco not creating an HTTP session / setting a session cookie in the Public API CMIS endpoints
2019-07-17 09:04:34 GMT <alfresco-discord> <MorganP> I see, bothersome then 😄
2019-07-17 09:49:33 GMT <alfresco-discord> <dgradecak> AFaust, if it is just for stiky sessions, can't you use a header or something like that?
2019-07-17 10:26:57 GMT <AFaust> dgradecak: I could, but then it would be a different kind of change (infrastructure), since it would no longer be restricted to just the configuration / code of the actual applications (ACS / APS) and involve changes to the proxy / load balancer. Better to keep it where it belongs...
2019-07-17 10:27:41 GMT <AFaust> I have now patched the PublicApiAlfrescoCmisService to include the same kind of logic as its base class (which it does not call via super to avoid the auth code in it)
The other logs are at http://esplins.org/hash_alfresco