JBoss Community

Re: Invoke logout() for a custom login module

created by Daniel Jipa in JBoss AS 7 Development - View the full discussion

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

Start a new discussion in JBoss AS 7 Development at Community