passer1991

2013年12月4日

spring security抛出AuthenticationException异常的原因

摘要: 可能是因为密码不正确,特别是密码使用md5或者其它的加密算法加密之后,更是如此。还有一点:在UsernamePasswordAuthenticationFilter的子类中的attemptAuthentication方法中,只要去验证你自己的逻辑就可以了,不要在这里验证用户名,密码是否正确,因为这是UserDetailsService要干的事情。比如我的attemptAuthentication方法中就是这样: @Override public Authentication attemptAuthentication(HttpServletRequest request, Http... 阅读全文

posted @ 2013-12-04 16:10 passer1991 阅读(6261) 评论(0) 推荐(0) 编辑

Remote Debugging Chrome on Android

摘要: https://developers.google.com/chrome-developer-tools/docs/remote-debugging?hl=zh-CN 阅读全文

posted @ 2013-12-04 13:27 passer1991 阅读(115) 评论(0) 推荐(0) 编辑

导航