chemistry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Deanna Delapasse <>
Subject Re: Attempting to forward cookie through OpenCMIS session into Alfresco
Date Wed, 19 Aug 2015 02:56:42 GMT

That DID help!!!  It would never have occurred to me to set the cookie
parameter to false.

Thanks very much!

Hi Deanna,

If you are lucky, this might work:

parameters.put(SessionParameter.HEADER + ".0", "Cookie: " + cookieString);
parameters.put(SessionParameter.COOKIES, "false");

The clean way would be implementing an authentication provider, derived
from StandardAuthenticationProvider. Override the getHTTPHeaders() method
and return your cookie. If you need further cookie support (the server may
send more cookies), you can use the CmisCookieManager class. See the
StandardAuthenticationProvider code for details.

- Florian

> I'm a little desperate, so I'm bothering you guys!  I'm deploying an
> application that uses chemistry-opencmis-client-impl 0.10.0 and I'm trying
> to forward a cookie in to Alfresco so that the Siteminder SSO will
> authorize me.
> This works everywhere EXCEPT when I try to create my OpenCMIS session
> setting.  I've added the parameters below.  Should i expect this to work?
> I have found very little in the documentation.
> // The cookieString is formatted  Name=Value
> parameters.put(SessionParameter.HEADER + ".0", "Cookie:" + cookieString);
> parameters.put(SessionParameter.COOKIES, "true");
> Of course this deployment is the last step in a long project and we just
> discovered this at the very end.  Guess we weren't so "agile" after all!
> thanks!
> Deanna

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message