@Configuration(proxyBeanMethods=false)
@ConditionalOnClass(value=org.springframework.security.authentication.ReactiveAuthenticationManager.class)
@ConditionalOnMissingBean(value={org.springframework.security.authentication.ReactiveAuthenticationManager.class,org.springframework.security.core.userdetails.ReactiveUserDetailsService.class},
type={"org.springframework.security.oauth2.jwt.ReactiveJwtDecoder","org.springframework.security.oauth2.server.resource.introspection.ReactiveOpaqueTokenIntrospector"})
@Conditional(value=org.springframework.boot.autoconfigure.security.reactive.ReactiveUserDetailsServiceAutoConfiguration.ReactiveUserDetailsServiceCondition.class)
@EnableConfigurationProperties(value=SecurityProperties.class)
@AutoConfigureAfter(value=RSocketMessagingAutoConfiguration.class)
public class ReactiveUserDetailsServiceAutoConfiguration
extends Object
Default user @Configuration
for a reactive web application.
Configures a ReactiveUserDetailsService
with a default user and generated
password. This backs-off completely if there is a bean of type
ReactiveUserDetailsService
or ReactiveAuthenticationManager
.
- Since:
- 2.0.0
- Author:
- Madhura Bhave