Skip to content

Commit c6eba53

Browse files
author
Sampada
authored
JAVA-1808: Added passwordEncoder bean (#9637)
* JAVA-1808: Added passwordEncoder bean * JAVA-1808: renamed bean to encoder
1 parent ff13d59 commit c6eba53

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

spring-security-modules/spring-security-rest/src/main/resources/webSecurityConfig.xml

+2
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@
3333
class="com.baeldung.security.MySavedRequestAwareAuthenticationSuccessHandler" />
3434
<beans:bean id="myFailureHandler"
3535
class="org.springframework.security.web.authentication.SimpleUrlAuthenticationFailureHandler" />
36+
<bean name="encoder"
37+
class="org.springframework.security.crypto.bcrypt.BCryptPasswordEncoder"/>
3638
3739
<authentication-manager alias="authenticationManager">
3840
<authentication-provider>

0 commit comments

Comments
 (0)