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

Daniel Jipa do-not-reply at jboss.com
Mon Apr 23 02:49:47 EDT 2012


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

"Re: Invoke logout() for a custom login module"

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

--------------------------------------------------------------
> Daniel Jipa wrote:
> 
> 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);
> 
> 
> 
> *
> 

The problem I have here is an audit it is used in application. Every time the JAAS login module is called a new record is inserted in an audit table. Due to the fact that the username and password are cached login method will never get called and new records won't be inserted.
--------------------------------------------------------------

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

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/20120423/aed35107/attachment.html 


More information about the jboss-dev-forums mailing list