沈斌
2017-12-19 b62b207be0bd2aa2b62ede7e2b0dd8e1c9341147
src/main/java/com/moral/security/WebSecurityConfiguration.java
@@ -49,8 +49,8 @@
    @Override
    protected void configure(HttpSecurity http) throws Exception {
      http
      .anonymous().disable()
      http.csrf().disable(); //TODO 暂时关闭CSRF
      http.anonymous().disable()
        .authorizeRequests()
        .antMatchers("/oauth/token").permitAll();
    }