This content has been marked as final.
Show 3 replies
-
1. Re: logout
ragavgomatam Apr 22, 2008 9:59 PM (in response to avihaimar)No...Unless you want to do some convoluted coding....
-
2. Re: logout
avihaimar Apr 22, 2008 11:29 PM (in response to avihaimar)Thanks for the answer.
I have to implement logout. i saw that the 'AbstractServerLoginModule' has logout function. The question is how jboss now when to call it? -
3. Re: logout
ragavgomatam Apr 23, 2008 11:17 AM (in response to avihaimar)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