Class InMemoryUserDetailsManagerConfigurer<B extends ProviderManagerBuilder<B>>
- java.lang.Object
-
- org.springframework.security.config.annotation.SecurityConfigurerAdapter<AuthenticationManager,B>
-
- org.springframework.security.config.annotation.authentication.configurers.userdetails.UserDetailsAwareConfigurer<B,U>
-
- org.springframework.security.config.annotation.authentication.configurers.userdetails.AbstractDaoAuthenticationConfigurer<B,C,U>
-
- org.springframework.security.config.annotation.authentication.configurers.userdetails.UserDetailsServiceConfigurer<B,C,UserDetailsManager>
-
- org.springframework.security.config.annotation.authentication.configurers.provisioning.UserDetailsManagerConfigurer<B,InMemoryUserDetailsManagerConfigurer<B>>
-
- org.springframework.security.config.annotation.authentication.configurers.provisioning.InMemoryUserDetailsManagerConfigurer<B>
-
- Type Parameters:
B
- the type of theProviderManagerBuilder
that is being configured
- All Implemented Interfaces:
SecurityConfigurer<AuthenticationManager,B>
public class InMemoryUserDetailsManagerConfigurer<B extends ProviderManagerBuilder<B>> extends UserDetailsManagerConfigurer<B,InMemoryUserDetailsManagerConfigurer<B>>
Configures anAuthenticationManagerBuilder
to have in memory authentication. It also allows easily adding users to the in memory authentication.- Since:
- 3.2
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.springframework.security.config.annotation.authentication.configurers.provisioning.UserDetailsManagerConfigurer
UserDetailsManagerConfigurer.UserDetailsBuilder
-
-
Constructor Summary
Constructors Constructor Description InMemoryUserDetailsManagerConfigurer()
Creates a new instance
-
Method Summary
-
Methods inherited from class org.springframework.security.config.annotation.authentication.configurers.provisioning.UserDetailsManagerConfigurer
initUserDetailsService, withUser, withUser, withUser
-
Methods inherited from class org.springframework.security.config.annotation.authentication.configurers.userdetails.UserDetailsServiceConfigurer
configure
-
Methods inherited from class org.springframework.security.config.annotation.authentication.configurers.userdetails.AbstractDaoAuthenticationConfigurer
getUserDetailsService, passwordEncoder, userDetailsPasswordManager, withObjectPostProcessor
-
Methods inherited from class org.springframework.security.config.annotation.SecurityConfigurerAdapter
addObjectPostProcessor, and, getBuilder, init, postProcess, setBuilder
-
-