on ‎2018 Apr 23 6:51 PM
Hi all,
In Hybris 5.4 I was able to get full list of Jalo sessions like this: final Collection jaloSessions = JaloConnection.getInstance().getAllSessions();
After this I was able to close all sessions for specific user, for instance.
In Hybris 6.3 this method was deprecated and currently returns empty list: /** @deprecated */ @Deprecated public Collection getAllSessions() { return Collections.EMPTY_LIST; }
I would appreciate if someone let me know if this is still possible to do in Hybris 6.3 in some other way or is there some alternatives? In some cases I need to find all sessions that are currently open for a user and close them. This task was easy in Hybris 5.4, but currently I'm stuck with it using Hybris 6.3
Thanks in advance!
Request clarification before answering.
Hi Dmytro,
Probably, you could try to listen to de.hybris.platform.servicelayer.event.events.AfterSessionCreationEvent and aggregate all created sessions manually.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.