@ConditionalOnBean(value=) @ConditionalOnClass(value= ) @ConditionalOnMissingBean(value= ) @ConditionalOnWebApplication public class FallbackWebSecurityAutoConfiguration extends Object
@EnableWebSecurity
, and yet still wants a bean of type
WebSecurityConfigurerAdapter, he is trying to use a custom security setup. The app
would fail in a confusing way without this shim configuration, which just helpfully
defines an empty @EnableWebSecurity
.Copyright © 2015 Pivotal Software, Inc.. All rights reserved.