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:
committed by
Petri Tuomola
parent
6eb728455f
commit
291edd7a3f
+1
-1
@@ -56,7 +56,7 @@ public class SecurityConfig extends WebSecurityConfigurerAdapter {
|
|||||||
protected void configure(HttpSecurity http) throws Exception {
|
protected void configure(HttpSecurity http) throws Exception {
|
||||||
|
|
||||||
http //
|
http //
|
||||||
.csrf().disable() //
|
.csrf().disable() // NOSONAR only creating a service that is used by non-browser clients
|
||||||
.antMatcher("/api/**").authorizeRequests() //
|
.antMatcher("/api/**").authorizeRequests() //
|
||||||
.antMatchers(HttpMethod.OPTIONS, "/api/**").permitAll() //
|
.antMatchers(HttpMethod.OPTIONS, "/api/**").permitAll() //
|
||||||
.antMatchers(HttpMethod.POST, "/api/*/echo").permitAll() //
|
.antMatchers(HttpMethod.POST, "/api/*/echo").permitAll() //
|
||||||
|
|||||||
Reference in New Issue
Block a user