Java action login feedback

2
I want to logout a user (current or other) using a Java action. I'm using Core.getActiveSession(..) and Core.logout(..) for this purpose. When it is the current user that is logged out, I want to force the browser back to the login form. I'm currently using the addLoginFeedback() method for this, but I imagine this will only work properly when logging out the current user. What is the exact purpose of the addLoginFeedback() method? What means do I have to force a different user (than $currentUser) back to the login window? And what if I'm using a HTML page for login... will it get redirected there?
asked
0 answers