[jboss-user] [Security & JAAS/JBoss] - logout from swing client

ashields do-not-reply at jboss.com
Mon Jan 14 11:09:54 EST 2008

I have a swing client that is passing login identity via  SecurityAssociation.setPrincipal and SecurityAssociation.setCredential which initially works as expected.

However once I've made EJB calls etc and the user is logged in to my JAAS module on the server side, I can't figure out how to subsequently log them out (other than shutting down the client application)

I was hoping that SecurityAssociation.clear would achieve this but it doesn't, neither does calling setCredential etc with different values.

Is this possible?

Alan Shields

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4119703#4119703

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4119703

More information about the jboss-user mailing list