From 291edd7a3ff048acd2d76effd66f2b2923d044d0 Mon Sep 17 00:00:00 2001 From: Victor Romero Date: Sun, 5 Dec 2021 21:44:51 -0600 Subject: [PATCH] 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 --- .../fineract/infrastructure/core/config/SecurityConfig.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fineract-provider/src/main/java/org/apache/fineract/infrastructure/core/config/SecurityConfig.java b/fineract-provider/src/main/java/org/apache/fineract/infrastructure/core/config/SecurityConfig.java index 9b38c613b..4269790f4 100644 --- a/fineract-provider/src/main/java/org/apache/fineract/infrastructure/core/config/SecurityConfig.java +++ b/fineract-provider/src/main/java/org/apache/fineract/infrastructure/core/config/SecurityConfig.java @@ -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() //