@Configuration(proxyBeanMethods=false) @ConditionalOnBean(value=org.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapter.class) @ConditionalOnMissingBean(name="springSecurityFilterChain") @ConditionalOnWebApplication(type=SERVLET) @EnableWebSecurity public class WebSecurityEnablerConfiguration extends ObjectSE
@EnableWebSecurity アノテーションが追加されます。これにより、アノテーションがデフォルトのセキュリティ自動構成で存在することを確認し、ユーザーがカスタムセキュリティを追加してアノテーションの追加を忘れた場合にも確認できます。@EnableWebSecurity がすでに追加されている場合、または名前のある Bean がユーザーによって構成されている場合、これはバックオフされます。| コンストラクターと説明 |
|---|
WebSecurityEnablerConfiguration() |
cloneSE, equalsSE, finalizeSE, getClassSE, hashCodeSE, notifySE, notifyAllSE, toStringSE, waitSE, waitSE, waitSECopyright © 2019 Pivotal Software, Inc.. All rights reserved.