[jboss-user] [Security & JAAS/JBoss] - Re: logout

ragavgomatam do-not-reply at jboss.com
Wed Apr 23 11:17:24 EDT 2008


There are 2 ways, I believe this is called.
(1) If you are using a web app, & if your HttpSession times out, I believe jboss calles logout() on the AbstarctServerLoginModule & clears your Principal.
(2) If you are using a java client, you have the LoginContext. You call LoginContext.login() , do your stuff and call LoginContext.logout()
after you finish your work.

Hope this helps

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

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



More information about the jboss-user mailing list