Getting logged in users with a SessionRegistry

后端 未结 2 1592
太阳男子
太阳男子 2021-01-06 06:40

I have a web application that is secured totally by the Weblogic container. Now I have to list the currently logged in users. I have to use Spring Security 2.0.4 for that

相关标签:
2条回答
  • 2021-01-06 07:30

    This have be done here: http://krams915.blogspot.com/2010/12/spring-security-mvc-querying.html

    Enjoy :)

    0 讨论(0)
  • 2021-01-06 07:43

    The problem with the above mentioned configuration is that none of the beans are responsible for putting data into the SessionRegistry. The session events are published in the application, but more beans are needed so that authentications be put into the registry, for example an AuthenticationManager should be configured. Without this the SessionRegistry stays always empty.

    0 讨论(0)
提交回复
热议问题