JAVA-1808: Added passwordEncoder bean (#9637)

* JAVA-1808: Added passwordEncoder bean

* JAVA-1808: renamed bean to encoder
This commit is contained in:
Sampada 2020-07-04 17:04:02 +05:30 committed by GitHub
parent 535c88153d
commit a593cfc3ef
1 changed files with 2 additions and 0 deletions

View File

@ -33,6 +33,8 @@
class="com.baeldung.security.MySavedRequestAwareAuthenticationSuccessHandler" />
<beans:bean id="myFailureHandler"
class="org.springframework.security.web.authentication.SimpleUrlAuthenticationFailureHandler" />
<bean name="encoder"
class="org.springframework.security.crypto.bcrypt.BCryptPasswordEncoder"/>
<authentication-manager alias="authenticationManager">
<authentication-provider>