This content has been marked as final.
Show 3 replies
-
1. Re: Programatically flushing out a user logged in with Elytron
fjuma Nov 20, 2018 1:46 PM (in response to sergiu_pienar)If you have access to the HttpServletRequest object, the HttpServletRequest.logout() method could be used to log out a user programmatically.
-
2. Re: Programatically flushing out a user logged in with Elytron
sergiu_pienar Nov 21, 2018 1:25 AM (in response to fjuma)Unfortunately I do not have access to the HttpServletRequest. I was thinking more of being able to call some methods from Elytron API that would enable me to pass the logname and based on that to invalidate the user.
-
3. Re: Programatically flushing out a user logged in with Elytron
fjuma Nov 21, 2018 2:25 PM (in response to sergiu_pienar)We have an ELY issue for adding the ability to auto-logout a user after some time. If your use case is different, feel free to create an ELY feature request.