No SecurityManager accessible to the calling code
No SecurityManager accessible to the calling code在做一个项目中发现老是出现上图错误,经查询后发现ThreadContext没有绑定SecurityManager,按照要求进行绑定,成功解决了问题。DefaultWebSecurityManager securityManager = new DefaultWebSecurityManager();securityManager.setRealm(userRealm);ThreadContext.bin
原创
2021-08-29 22:37:13 ·
346 阅读 ·
0 评论