struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Patrick Cavanaugh (JIRA)" <>
Subject [jira] [Created] (WW-3895) Synchronization on HttpSession object
Date Thu, 11 Oct 2012 21:01:03 GMT
Patrick Cavanaugh created WW-3895:

             Summary: Synchronization on HttpSession object
                 Key: WW-3895
             Project: Struts 2
          Issue Type: Bug
    Affects Versions:
            Reporter: Patrick Cavanaugh

I noticed that in the fix for WW-3865 (and in current code), synchronization is made
based on the HttpSession object.

According to and , HttpSession isn't guaranteed by the specification
to be the same object each time getSession() is called and so the synchronization might not
work correctly. That post suggests synchronizing on the interned session ID instead. There
are might be other places in the codebase this would have to be changed too, and not just
in the TokenSessionInterceptor discussed in WW-3865.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

View raw message