Spring Security 访问控制-实现 RESTful API
要想实现 Spring Security 返回 JSON 格式串,只需重写以下几个处理器(JavaConfig)
http.exceptionHandling().accessDeniedHandler()
http.exceptionHandling().authenticationEntryPoint()
http.formLogin().successHandler()
http.for...
原创
2017-09-09 01:07:13 ·
11545 阅读 ·
0 评论