JBoss Community

Invoke logout() for a custom login module

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

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

Start a new discussion in JBoss AS 7 Development at Community