@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}) @ConditionalOnWebApplication(type=REACTIVE) public class ReactiveUserDetailsServiceAutoConfiguration extends Object
@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
.Constructor and Description |
---|
ReactiveUserDetailsServiceAutoConfiguration() |
Modifier and Type | Method and Description |
---|---|
org.springframework.security.core.userdetails.MapReactiveUserDetailsService |
reactiveUserDetailsService(SecurityProperties properties,
org.springframework.beans.factory.ObjectProvider<org.springframework.security.crypto.password.PasswordEncoder> passwordEncoder) |
public ReactiveUserDetailsServiceAutoConfiguration()
@Bean public org.springframework.security.core.userdetails.MapReactiveUserDetailsService reactiveUserDetailsService(SecurityProperties properties, org.springframework.beans.factory.ObjectProvider<org.springframework.security.crypto.password.PasswordEncoder> passwordEncoder)
Copyright © 2019 Pivotal Software, Inc.. All rights reserved.