This content has been marked as final.
Show 4 replies
-
1. Re: JAAS Login/Logout Notification
mrforms Jan 17, 2006 9:20 PM (in response to rameshsr)Just some random suggestions ...
If you are using a web application, how about using a simple Session listener and checking for sessionCreated, sessionDestroyed ?
Doesn't your application offer a explicit login/logout mechanism ?
I am not aware that JAAS offers any listener/callback support for these events as they are usually explicit calls to the the LoginContext.login and LoginContext.logout methods.
You could always set up your own login module or recompile the login modules of JBoss with a embedded logging strategy in it. Download the source of JBoss and edit the desired login modules, add your logging mechanism in the commit method for example and in the logout methods. A quick build and you are done. -
2. Re: JAAS Login/Logout Notification
kosl Feb 26, 2006 7:28 PM (in response to rameshsr)"MrForms" wrote:
If you are using a web application, how about using a simple Session listener and checking for sessionCreated, sessionDestroyed ?
I have the same problem as rameshsr. But can anybody tell me where I can find information how to write this "simple Session listener" ? Thx. in advance for any help.
karol -
4. Re: JAAS Login/Logout Notification
kosl Feb 28, 2006 7:35 PM (in response to rameshsr)Thank you very much!