Closes #2616 - Address PR comment

This commit is contained in:
CRoberto1926 2024-07-19 17:08:10 +02:00 committed by holgerhagen
parent de67331baf
commit f618469463
1 changed files with 5 additions and 1 deletions

View File

@ -69,7 +69,11 @@ public class BootWebSecurityConfigurer {
.requestMatchers(HttpMethod.GET, "/docs/**") .requestMatchers(HttpMethod.GET, "/docs/**")
.permitAll() .permitAll()
.requestMatchers( .requestMatchers(
HttpMethod.GET, "/api-docs", "/api-docs/**", "swagger-ui", "/swagger-ui/**") HttpMethod.GET,
"/api-docs",
"/api-docs/**",
"/swagger-ui",
"/swagger-ui/**")
.permitAll()) .permitAll())
.cors(Customizer.withDefaults()) .cors(Customizer.withDefaults())
.addFilter(jaasApiIntegrationFilter()) .addFilter(jaasApiIntegrationFilter())