[jboss-dev-forums] [JBoss AS 7 Development] - Invoke logout() for a custom login module

Daniel Jipa do-not-reply at jboss.com
Sun Apr 15 12:44:37 EDT 2012


Daniel Jipa [https://community.jboss.org/people/danjee] created the discussion

"Invoke logout() for a custom login module"

To view the discussion, visit: https://community.jboss.org/message/730130#730130

--------------------------------------------------------------
Hello,

How can I invoke the logout() method from my custom login module remotely from a swing client ?
It seems that the username and password are cached even after calling

System.exit(0);


>From a web application embedded in the ear it seems that logout is called as expected upon session invalidation (without flushOnSessionInvalidation=true option)


Another question I have:

1) login with browser1 in web application *(login method is getting called)*
2) login with browser2 in web application with same credentials *(login method is not getting called)*
3) logout from browser2 *(logout module is getting called)*
4) call a ejb method from browser1*(login module is getting called)*

Is this behavior normal ?*
*
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/730130#730130]

Start a new discussion in JBoss AS 7 Development at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2225]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-dev-forums/attachments/20120415/340b7dd1/attachment.html 


More information about the jboss-dev-forums mailing list