Annotation Interface ConditionalOnDefaultWebSecurity
@Target({TYPE,METHOD})
@Retention(RUNTIME)
@Documented
@Conditional(org.springframework.boot.autoconfigure.security.DefaultWebSecurityCondition.class)
public @interface ConditionalOnDefaultWebSecurity
@Conditional
that only matches when web security is available and
the user has not defined their own configuration.- Since:
- 2.4.0
- Author:
- Phillip Webb