我正在用JSF开发一个Spring Security应用程序。登录表没问题。但是,当我尝试检索身份验证对象时,在将来的代码中,我总是将身份验证主体作为匿名获取。
我尝试获取的是这样的:身份验证auth = SecurityContextHolder.getContext().getAuthentication();
发布于 2010-05-09 19:38:16
嘿!
问题是我没有添加到安全性中的http
https://stackoverflow.com/questions/2797445
复制相似问题