|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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.DaoAuthenticationConfigurer<B,U>
B
- The type of ProviderManagerBuilder
this isU
- The type of UserDetailsService
that is being usedpublic class DaoAuthenticationConfigurer<B extends ProviderManagerBuilder<B>,U extends UserDetailsService>
Allows configuring a DaoAuthenticationProvider
Constructor Summary | |
---|---|
DaoAuthenticationConfigurer(U userDetailsService)
Creates a new instance |
Method Summary | |
---|---|
void |
configure(B builder)
Configure the SecurityBuilder by setting the necessary properties
on the SecurityBuilder . |
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. |
Methods inherited from class org.springframework.security.config.annotation.SecurityConfigurerAdapter |
---|
addObjectPostProcessor, and, getBuilder, init, postProcess, setBuilder |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DaoAuthenticationConfigurer(U userDetailsService)
userDetailsService
- Method Detail |
---|
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 void configure(B builder) throws Exception
SecurityConfigurer
SecurityBuilder
by setting the necessary properties
on the SecurityBuilder
.
configure
in interface SecurityConfigurer<AuthenticationManager,B extends ProviderManagerBuilder<B>>
configure
in class SecurityConfigurerAdapter<AuthenticationManager,B extends ProviderManagerBuilder<B>>
Exception
public U getUserDetailsService()
UserDetailsService
that is used with the DaoAuthenticationProvider
getUserDetailsService
in class UserDetailsAwareConfigurer<B extends ProviderManagerBuilder<B>,U extends UserDetailsService>
UserDetailsService
that is used with the DaoAuthenticationProvider
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |