posted 12 years ago
hi,
I would like to get the list of logged in users in my web application running on a (Weblogic 10.3)
I have to do this with Spring 2.0.5 and without using Spring Security for some reason.. :-(
I'd like to ask if it is ok to achieve this by defining a DIYSessionRegistry scope="singleton" bean and a session scope DIYSession bean. The latter would be grabbed on every request, because as far as I know session scope beans are always lazy initialized. These DIYSession beans would register themselves into the DIYSessionRegistry on creation and would unregister themselves when destroyed.
Do you think this approach is ok? I don't if it would work in a cluster as well..