Disabling SonarQube HotSpot, because Fineract API Rest is creating services that are used by non-browser clients

Disabling SonarQube HotSpot, because Fineract API Rest is creating services that are used by non-browser clients with spotlessApply
This commit is contained in:
Victor Romero
2021-12-07 19:14:36 +08:00
committed by Petri Tuomola
parent 6eb728455f
commit 291edd7a3f
@@ -56,7 +56,7 @@ public class SecurityConfig extends WebSecurityConfigurerAdapter {
protected void configure(HttpSecurity http) throws Exception {
http //
.csrf().disable() //
.csrf().disable() // NOSONAR only creating a service that is used by non-browser clients
.antMatcher("/api/**").authorizeRequests() //
.antMatchers(HttpMethod.OPTIONS, "/api/**").permitAll() //
.antMatchers(HttpMethod.POST, "/api/*/echo").permitAll() //