B - the type of the SecurityBuilder that is being configuredpublic class InMemoryUserDetailsManagerConfigurer<B extends ProviderManagerBuilder<B>> extends UserDetailsManagerConfigurer<B,InMemoryUserDetailsManagerConfigurer<B>>
AuthenticationManagerBuilder to
have in memory authentication. It also allows easily adding users to the in memory authentication.UserDetailsManagerConfigurer.UserDetailsBuilder| Constructor and Description |
|---|
InMemoryUserDetailsManagerConfigurer()
Creates a new instance
|
| Modifier and Type | Method and Description |
|---|---|
U |
getUserDetailsService()
Gets the
UserDetailsService that is used with the DaoAuthenticationProvider |
C |
passwordEncoder(PasswordEncoder passwordEncoder)
Allows specifying the
PasswordEncoder to use with the DaoAuthenticationProvider. |
C |
passwordEncoder(PasswordEncoder passwordEncoder)
Allows specifying the
PasswordEncoder
to use with the DaoAuthenticationProvider. |
C |
withObjectPostProcessor(ObjectPostProcessor<?> objectPostProcessor)
Adds an
ObjectPostProcessor for this class. |
initUserDetailsService, withUserconfigureaddObjectPostProcessor, and, getBuilder, init, postProcess, setBuilderpublic InMemoryUserDetailsManagerConfigurer()
public C withObjectPostProcessor(ObjectPostProcessor<?> objectPostProcessor)
ObjectPostProcessor for this class.objectPostProcessor - AbstractDaoAuthenticationConfigurer for further customizationspublic C passwordEncoder(PasswordEncoder passwordEncoder)
PasswordEncoder to use with the DaoAuthenticationProvider. The default is
is to use plain text.passwordEncoder - The PasswordEncoder to use.public C passwordEncoder(PasswordEncoder passwordEncoder)
PasswordEncoder
to use with the DaoAuthenticationProvider. The default is is to
use plain text.passwordEncoder - The
PasswordEncoder
to use.SecurityConfigurer for further customizationspublic U getUserDetailsService()
UserDetailsService that is used with the DaoAuthenticationProvidergetUserDetailsService in class UserDetailsAwareConfigurer<B extends ProviderManagerBuilder<B>,U extends UserDetailsService>UserDetailsService that is used with the DaoAuthenticationProvider