Skip to content

Commit

Permalink
Merge branch 'main' into booking/230
Browse files Browse the repository at this point in the history
  • Loading branch information
byulcode committed Jan 12, 2024
2 parents 8a32262 + 234ac39 commit ba336b8
Showing 1 changed file with 10 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -96,9 +96,14 @@ private RequestMatcher[] requestPermitAll() {
antMatcher("/swagger-ui/**"),
antMatcher("/swagger-ui"),
antMatcher("/swagger-ui.html"),
antMatcher("/v2/api-docs"),
antMatcher("/v3/api-docs"),
antMatcher("/webjars/**")
antMatcher("/swagger/**"),
antMatcher("/swagger-resources/**"),
antMatcher("/v3/api-docs/**"),
antMatcher("/webjars/**"),

// H2-CONSOLE
antMatcher("/h2-console/**")

);
return requestMatchers.toArray(RequestMatcher[]::new);
}
Expand Down Expand Up @@ -238,8 +243,10 @@ private void configureCommonSecuritySettings(HttpSecurity http) throws Exception
.formLogin().disable()
.httpBasic().disable()
.rememberMe().disable()
.headers().frameOptions().disable().and()
.logout().disable()
.sessionManagement()
.sessionCreationPolicy(SessionCreationPolicy.STATELESS);

}
}

0 comments on commit ba336b8

Please sign in to comment.