From 0a38c8155c4aea104a569308171208f5e25e574a Mon Sep 17 00:00:00 2001 From: usbharu <64310155+usbharu@users.noreply.github.com> Date: Tue, 20 Feb 2024 22:59:45 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20Spring=20Security=E3=81=AE=E3=83=90?= =?UTF-8?q?=E3=82=B0=E3=82=92=E5=9B=9E=E9=81=BF=E3=81=99=E3=82=8B=E3=81=9F?= =?UTF-8?q?=E3=82=81=E8=A8=AD=E5=AE=9A=E3=82=92=E5=A4=89=E6=9B=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../dev/usbharu/hideout/application/config/SecurityConfig.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/kotlin/dev/usbharu/hideout/application/config/SecurityConfig.kt b/src/main/kotlin/dev/usbharu/hideout/application/config/SecurityConfig.kt index 57edc427..8978da0c 100644 --- a/src/main/kotlin/dev/usbharu/hideout/application/config/SecurityConfig.kt +++ b/src/main/kotlin/dev/usbharu/hideout/application/config/SecurityConfig.kt @@ -93,7 +93,7 @@ import java.security.interfaces.RSAPublicKey import java.util.* -@EnableWebSecurity(debug = true) +@EnableWebSecurity(debug = false) @Configuration @Suppress("FunctionMaxLength", "TooManyFunctions", "LongMethod") class SecurityConfig { @@ -416,7 +416,7 @@ class SecurityConfig { return roleHierarchyImpl } - @Bean + // @Bean fun beanDefinitionRegistryPostProcessor(): BeanDefinitionRegistryPostProcessor { return BeanDefinitionRegistryPostProcessor { registry: BeanDefinitionRegistry -> registry.getBeanDefinition(AbstractSecurityWebApplicationInitializer.DEFAULT_FILTER_NAME).beanClassName =