apache shiro 设置多个 realms,登录成功获取PrincipalCollection为空?

【apache shiro 设置多个 realms,登录成功获取PrincipalCollection为空?】

apache shiro 设置多个 realms,登录成功获取PrincipalCollection为空?

文章插图
Apache shiro设置多个领域 , 成功登录获取PrincipalCollection as 空?Apache shiro设置多个领域,成功登录获取PrincipalCollection as 空?简介:shiro和spring集成配置两个realm时,登录验证成功,但从jsp页面获取的用户名是空(< % = security utils . get subject() 。get principals()%gt;),每个