JAVA-1808: Added passwordEncoder bean (#9637)
* JAVA-1808: Added passwordEncoder bean * JAVA-1808: renamed bean to encoder
This commit is contained in:
parent
535c88153d
commit
a593cfc3ef
|
@ -33,6 +33,8 @@
|
||||||
class="com.baeldung.security.MySavedRequestAwareAuthenticationSuccessHandler" />
|
class="com.baeldung.security.MySavedRequestAwareAuthenticationSuccessHandler" />
|
||||||
<beans:bean id="myFailureHandler"
|
<beans:bean id="myFailureHandler"
|
||||||
class="org.springframework.security.web.authentication.SimpleUrlAuthenticationFailureHandler" />
|
class="org.springframework.security.web.authentication.SimpleUrlAuthenticationFailureHandler" />
|
||||||
|
<bean name="encoder"
|
||||||
|
class="org.springframework.security.crypto.bcrypt.BCryptPasswordEncoder"/>
|
||||||
|
|
||||||
<authentication-manager alias="authenticationManager">
|
<authentication-manager alias="authenticationManager">
|
||||||
<authentication-provider>
|
<authentication-provider>
|
||||||
|
|
Loading…
Reference in New Issue