p:maximumSessions="1" >application-security.xml的配置
依赖注入: @Resource(name="sessionRegistry")
private SessionRegistry sessionRegistry;
看了很多解决方案,都没有效果 sessionRegistry.getAllPrincipals()一直返回空