mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-09-03 04:26:12 +08:00
Comment out security condition pending SPR-11069
This commit is contained in:
parent
e43dcd3061
commit
c144cae600
@ -96,7 +96,9 @@ import org.springframework.security.web.util.matcher.AnyRequestMatcher;
|
||||
*/
|
||||
@Configuration
|
||||
@ConditionalOnClass({ EnableWebSecurity.class })
|
||||
@ConditionalOnMissingBean(annotation = EnableWebSecurity.class)
|
||||
// TODO: re-enable this when SPR-11069 is fixed
|
||||
// @ConditionalOnMissingBean(annotation = EnableWebSecurity.class)
|
||||
@ConditionalOnMissingBean(SecurityAutoConfiguration.class)
|
||||
@EnableConfigurationProperties
|
||||
public class SecurityAutoConfiguration {
|
||||
|
||||
|
@ -29,5 +29,4 @@ public class SampleDataJpaApplication {
|
||||
public static void main(String[] args) throws Exception {
|
||||
SpringApplication.run(SampleDataJpaApplication.class, args);
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user