@Configuration @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, waitSE
Copyright © 2019 Pivotal Software, Inc.. All rights reserved.