Sign in to Community
Sign in to view all badges
We have a active AEM browser user session(this session is using the login-token cookie),
Now need to make that session inactive from a remote system by using a servlet call.
Please let us know is there any mechanism available in AEM to logout active sessions of a particular user or is there any other way to achieve it.
The same question has been answered here. Its specific to older version but the same principle should apply:
how to handle user session in cq5
In addition to what Hamid mentioned, you can try to use a CURL command to clear tokens from "http://<host>:<port>/system/console/tokenmgr"
My servlet session is different from the session which is serving the user.
I m trying to achieve the same from my servlet "clear tokens from "http://<host>:<port>/system/console/tokenmgr".
Do you have any inputs on how achieve the same via code.