Skip to content

Commit

Permalink
chore: deactivate http security
Browse files Browse the repository at this point in the history
  • Loading branch information
Markus Eberl committed Jun 29, 2021
1 parent 6cb020d commit dea4a30
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public class WebSecurityConfig extends KeycloakWebSecurityConfigurerAdapter {
*/
@Override
protected void configure(HttpSecurity http) throws Exception {
http
/*http
.csrf().disable()
.authenticationProvider(keycloakAuthenticationProvider())
.addFilterBefore(keycloakAuthenticationProcessingFilter(), BasicAuthenticationFilter.class)
Expand All @@ -39,7 +39,7 @@ protected void configure(HttpSecurity http) throws Exception {
.antMatchers(SpringFoxConfig.WHITE_LIST).permitAll()
.requestMatchers(new NegatedRequestMatcher(new AntPathRequestMatcher("/live"))).permitAll()
.requestMatchers(new NegatedRequestMatcher(new AntPathRequestMatcher("/live/**")))
.permitAll();
.permitAll();*/
}

/**
Expand Down

0 comments on commit dea4a30

Please sign in to comment.