Class UserDetailsAwareConfigurer<B extends ProviderManagerBuilder<B>,U extends UserDetailsService>
- java.lang.Object
-
- org.springframework.security.config.annotation.SecurityConfigurerAdapter<AuthenticationManager,B>
-
- org.springframework.security.config.annotation.authentication.configurers.userdetails.UserDetailsAwareConfigurer<B,U>
-
- Type Parameters:
B
- the type of theProviderManagerBuilder
U
- the type ofUserDetailsService
- All Implemented Interfaces:
SecurityConfigurer<AuthenticationManager,B>
- Direct Known Subclasses:
AbstractDaoAuthenticationConfigurer
public abstract class UserDetailsAwareConfigurer<B extends ProviderManagerBuilder<B>,U extends UserDetailsService> extends SecurityConfigurerAdapter<AuthenticationManager,B>
Base class that allows access to theUserDetailsService
for using as a default value withAuthenticationManagerBuilder
.
-
-
Constructor Summary
Constructors Constructor Description UserDetailsAwareConfigurer()
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract U
getUserDetailsService()
Gets theUserDetailsService
or null if it is not available-
Methods inherited from class org.springframework.security.config.annotation.SecurityConfigurerAdapter
addObjectPostProcessor, and, configure, getBuilder, init, postProcess, setBuilder
-
-
-
-
Method Detail
-
getUserDetailsService
public abstract U getUserDetailsService()
Gets theUserDetailsService
or null if it is not available- Returns:
- the
UserDetailsService
or null if it is not available
-
-