Skip to content

Commit

Permalink
Removed authorization
Browse files Browse the repository at this point in the history
  • Loading branch information
ramveer93 committed Oct 19, 2020
1 parent 1010353 commit c9f8b88
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ protected void configure(HttpSecurity http) throws Exception {

//TODO : uncomment below line if you want to authenticate
// .antMatchers("/v1/**").hasIpAddress(ip)
.anyRequest().authenticated().and().exceptionHandling()
//.anyRequest().authenticated().and().exceptionHandling()
.and().sessionManagement().sessionCreationPolicy(SessionCreationPolicy.STATELESS);
http.addFilterBefore(jwtFilter, UsernamePasswordAuthenticationFilter.class);
}
Expand Down

0 comments on commit c9f8b88

Please sign in to comment.