mirror of https://github.com/usbharu/Hideout.git
fix: Spring Securityのバグを回避するため設定を変更
This commit is contained in:
parent
0d24f41145
commit
0a38c8155c
|
@ -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 =
|
||||
|
|
Loading…
Reference in New Issue