shindig-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mat Mannion (JIRA)" <j...@apache.org>
Subject [jira] Issue Comment Edited: (SHINDIG-1382) MakeRequestHandler keeps and sends cookies regardless of contexes / users etc.
Date Tue, 13 Jul 2010 12:42:53 GMT

    [ https://issues.apache.org/jira/browse/SHINDIG-1382?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12887734#action_12887734
] 

Mat Mannion edited comment on SHINDIG-1382 at 7/13/10 8:42 AM:
---------------------------------------------------------------

Alternatively, we could modify BasicHttpFetcher to do:

client.removeRequestInterceptorByClass(RequestAddCookies.class);
client.removeResponseInterceptorByClass(ResponseProcessCookies.class);

      was (Author: mmannion):
    Alternatively, we could modify BasicHttpFetcher to do:

{code}
client.removeRequestInterceptorByClass(RequestAddCookies.class);
client.removeResponseInterceptorByClass(ResponseProcessCookies.class);
{code}
  
> MakeRequestHandler keeps and sends cookies regardless of contexes / users etc. 
> -------------------------------------------------------------------------------
>
>                 Key: SHINDIG-1382
>                 URL: https://issues.apache.org/jira/browse/SHINDIG-1382
>             Project: Shindig
>          Issue Type: Bug
>          Components: Java
>    Affects Versions: 2.0.0-RC1
>         Environment: N/A
>            Reporter: Hasan Ceylan
>            Priority: Critical
>         Attachments: shindig-cookie.patch
>
>
> AFAIK, shindig switched to http-comps as the http library. 
> This library by default just like a browser caches the cookies returned by the backend
servers and re-uses those cookies all the time.
> Attached patch resolves the issues by rejecting validation of cookies with a custom cookie
policy.
> Regards,
> Hasan Ceylan  

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message