- All Implemented Interfaces:
- org.springframework.security.config.annotation.SecurityConfigurer<javax.servlet.Filter,org.springframework.security.config.annotation.web.builders.WebSecurity>, org.springframework.security.config.annotation.web.WebSecurityConfigurer<org.springframework.security.config.annotation.web.builders.WebSecurity>
@Configuration
@Conditional(value=OnOAuth2SecurityDisabled.class)
public class IgnoreAllSecurityConfiguration
extends Object
implements org.springframework.security.config.annotation.web.WebSecurityConfigurer<org.springframework.security.config.annotation.web.builders.WebSecurity>
Spring Security WebSecurityConfigurer simply ignoring all paths conditionally if security is not enabled.
The org.springframework.cloud.common.security.enabled=true property disables this configuration and
fall back to the Spring Boot default security configuration.
- Author:
- Janne Valkealahti, Gunnar Hillert, Christian Tzolov