Class UserDetailsServiceAutoConfiguration

java.lang.Object
org.springframework.boot.autoconfigure.security.servlet.UserDetailsServiceAutoConfiguration

@AutoConfiguration @ConditionalOnClass(org.springframework.security.authentication.AuthenticationManager.class) @ConditionalOnBean(org.springframework.security.config.annotation.ObjectPostProcessor.class) @ConditionalOnMissingBean(value={org.springframework.security.authentication.AuthenticationManager.class,org.springframework.security.authentication.AuthenticationProvider.class,org.springframework.security.core.userdetails.UserDetailsService.class,org.springframework.security.authentication.AuthenticationManagerResolver.class}, type={"org.springframework.security.oauth2.jwt.JwtDecoder","org.springframework.security.oauth2.server.resource.introspection.OpaqueTokenIntrospector","org.springframework.security.oauth2.client.registration.ClientRegistrationRepository","org.springframework.security.saml2.provider.service.registration.RelyingPartyRegistrationRepository"}) public class UserDetailsServiceAutoConfiguration extends Object
Auto-configuration for a Spring Security in-memory AuthenticationManager. Adds an InMemoryUserDetailsManager with a default user and generated password. This can be disabled by providing a bean of type AuthenticationManager, AuthenticationProvider or UserDetailsService.
Since:
2.0.0
Author:
Dave Syer, Rob Winch, Madhura Bhave