[
https://issues.apache.org/jira/browse/WW-3497?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Maurizio Cucchiara closed WW-3497.
----------------------------------
Resolution: Fixed
I'm going to close this issue, because the OP asked for a specific problem
which is possible to address with:
<action ... >
<interceptor-ref name="cookie">
<param name="cookiesName">*</param>
<param name="cookiesValue">*</param>
</interceptor-ref>
...
</action>
Anyway I'm still working on a enhanced version of CookieInterceptor (WW-3232).
> Unable to use CookieInterceptor
> -------------------------------
>
> Key: WW-3497
> URL: https://issues.apache.org/jira/browse/WW-3497
> Project: Struts 2
> Issue Type: Bug
> Components: Core Interceptors
> Affects Versions: 2.2.1
> Environment: Win 7, Java 6
> Reporter: James Cook
> Assignee: Maurizio Cucchiara
> Fix For: 2.2.2
>
> Attachments: WW-3497.patch
>
>
> When using the CookieInterceptor with the CookiesAware interface the map
> injected is always empty, unless you specify the cookieName parameter.
> Then however interceptor wants to inject that cookie value onto a member of
> the action class, this then becomes unusable in the case of a cookie name
> having a dynamic component. E.g. Facebooks Auth cookie and thus doesn't have
> a direct member mapping in the class
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.