You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ignite.apache.org by "Andreas Weber (JIRA)" <ji...@apache.org> on 2017/11/08 19:03:00 UTC

[jira] [Created] (IGNITE-6845) WebSessionFilter cannot handle liberty session ids

Andreas Weber created IGNITE-6845:
-------------------------------------

             Summary: WebSessionFilter cannot handle liberty session ids
                 Key: IGNITE-6845
                 URL: https://issues.apache.org/jira/browse/IGNITE-6845
             Project: Ignite
          Issue Type: Bug
      Security Level: Public (Viewable by anyone)
            Reporter: Andreas Weber


h2. Problem:

Websphere Liberty creates session ids in the following form (way the session id is serialized in the cookie):
<leadingZeros><id>:<cloneId>
e.g. 00003XeX_c5NHR5fJLYufFzt5ka:a3e94cfd-b391-4d9b-b9e7-6ddfcbf8c334

If a request is received by the same instance where the session was created, the requested session id is only the <id> part.
If a request is received by the another instance, the requested session id is the complete
<leadingZeros><id>:<cloneId>

Because of this behavior, Ignite searches for <leadingZeros><id>:<cloneId> in the cache, but only <id> was stored.

h2. Solution:

Implement a sessionIdTransformer for Websphere Liberty that normalizes <leadingZeros><id>:<cloneId> to <id>



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)