Skip to content

Commit

Permalink
Merge pull request #278 from bsinno/bugfix/unauthorized_upload
Browse files Browse the repository at this point in the history
Fixing unauthorized upload. Closes #263
  • Loading branch information
aedelmann authored Jun 17, 2016
2 parents 48bc3d8 + 75abe94 commit df03134
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,7 @@ protected void configure(HttpSecurity http) throws Exception {
.antMatchers(HttpMethod.GET, "/rest/**").permitAll()
.antMatchers("/user/**").permitAll()
.antMatchers(HttpMethod.PUT, "/rest/**").permitAll()
.antMatchers(HttpMethod.POST, "/rest/**").authenticated()
.antMatchers(HttpMethod.DELETE, "/rest/**").authenticated()
.and()
.addFilterAfter(new AngularCsrfHeaderFilter(), CsrfFilter.class).csrf()
Expand Down

0 comments on commit df03134

Please sign in to comment.