Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: DDL 수정, swagger 적용 #239

Merged
merged 8 commits into from
Jan 12, 2024
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);

}
}