Hello, me again
I would like to have some information about session management in xwiki, first is XWiki based on a specific frameworks ? Struts maybe ? Native JEE ?
What I want is to be able to force logout a user (logged in her browser with a local xwiki session) from an XWikiAdmin endpoint
let’s imagine POST /rest/users/{username}/logout
only usable by XWikiAdminGroup and I want to kill every session of the user from there. But I don’t have access to theses session, I just have eventually an XWikiUser object from the username, and the requester is not in the session of the user that we want to invalidate.
I found that in Spring for exemple there is a SessionRegistry to be able to found all stored session
Do we have same kind of mechamism somewhere in the XWiki stack ? Or do you think about any way of achieving what I want.
If you want more info about what I am trying to do I opened a thread on stackoverflow
So I’m looking for every kind a solution, checking with you from XWiki if XWiki provide some solution for that is a step.
So if you have any info, not even a solution it will be great for me, or if you think it’s not possible using xwiki
Thanks !!!