You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ignite.apache.org by andreaswe <gi...@git.apache.org> on 2017/11/08 09:14:39 UTC
[GitHub] ignite pull request #2994: WebSessionFilter can handle liberty session ids
GitHub user andreaswe opened a pull request:
https://github.com/apache/ignite/pull/2994
WebSessionFilter can handle liberty session ids
## 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.
## Solution:
Implement a sessionIdTransformer for Websphere Liberty that normalizes \<leadingZeros\>\<id\>:\<cloneId\> to \<id\>
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/andreaswe/ignite master
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/ignite/pull/2994.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #2994
----
commit 1ef4cb11337e22324fa11a0ba599e5cb9df0315d
Author: extern-weber-andreas <ex...@allianz.de>
Date: 2017-11-08T08:49:24Z
WebSessionFilter can handle liberty session ids
----
---