Class ReactiveInMemoryUserDetailsAutoConfiguration
- java.lang.Object
-
- org.bremersee.security.authentication.ReactiveInMemoryUserDetailsAutoConfiguration
-
@Configuration(proxyBeanMethods=false) @ConditionalOnClass(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(org.bremersee.security.authentication.ReactiveInMemoryUserDetailsAutoConfiguration.ReactiveUserDetailsServiceCondition.class) @AutoConfigureAfter(org.springframework.boot.autoconfigure.rsocket.RSocketMessagingAutoConfiguration.class) @AutoConfigureBefore(org.springframework.boot.autoconfigure.security.reactive.ReactiveUserDetailsServiceAutoConfiguration.class) @EnableConfigurationProperties({org.springframework.boot.autoconfigure.security.SecurityProperties.class,AuthProperties.class}) public class ReactiveInMemoryUserDetailsAutoConfiguration extends Object
The reactive in memory user details auto configuration.- Author:
- Christian Bremer
-
-
Constructor Summary
Constructors Constructor Description ReactiveInMemoryUserDetailsAutoConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.springframework.security.core.userdetails.MapReactiveUserDetailsService
reactiveUserDetailsService(org.springframework.boot.autoconfigure.security.SecurityProperties securityProperties, AuthProperties authProperties, org.springframework.beans.factory.ObjectProvider<org.springframework.security.crypto.password.PasswordEncoder> passwordEncoder)
Creates a reactive user details service bean.
-
-
-
Method Detail
-
reactiveUserDetailsService
@Bean public org.springframework.security.core.userdetails.MapReactiveUserDetailsService reactiveUserDetailsService(org.springframework.boot.autoconfigure.security.SecurityProperties securityProperties, AuthProperties authProperties, org.springframework.beans.factory.ObjectProvider<org.springframework.security.crypto.password.PasswordEncoder> passwordEncoder)
Creates a reactive user details service bean.- Parameters:
securityProperties
- the security propertiesauthProperties
- the auth propertiespasswordEncoder
- the password encoder- Returns:
- the map reactive user details service
-
-