custom realms, login and logout issues

I have created a custom realm following some of the instructions on the docs for sjsas (as there were several bugs present that confused me and extended the time it took to implement) extending the indicated classes. I had a requirement that there can only be a single log in from an individual at any one time.

are there any configuration changes that can be carried out to force the system to have this behaviour (NOTE we are not allowed to exted the login, logout, etc methods inherited from the login module superclass)?

If there are no configuration changes that I can carry out, what is the best way to get hold of the realm instance that the application is in so that I can carry out the necessary modifications to log a user out?

How is the logout from the realm invoked from the application (There seems to be documetation surrouding this)?

[874 byte] By [warrensweetman] at [2007-11-26 7:47:17]
# 1
One can find more info about custom realm implementation in http://developers.sun.com/prodtech/appserver/reference/techart/as8_authenticati on/index.htmlAnd one should use com.sun.appserv.secuity.ProgrammaticLogin.logout() to logout.
ShingWaiChan at 2007-7-6 20:01:22 > top of Java-index,Application & Integration Servers,Application Servers...