Skip to content

Commit

Permalink
Fixing unauthorized upload. Closes #263
Browse files Browse the repository at this point in the history
Signed-off-by: Nagavijay Sivakumar <nagavijay.sivakumar@bosch-si.com>
  • Loading branch information
Nagavijay Sivakumar committed Jun 17, 2016
1 parent 1f80407 commit e0f462d
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,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 e0f462d

Please sign in to comment.