BAEL-2702 fix: added a NoOpPasswordEncoder to the test context

This commit is contained in:
cror 2019-01-28 19:11:36 +01:00
parent 7b9e72e6c9
commit d5e875a3f0
1 changed files with 1 additions and 0 deletions

View File

@ -16,6 +16,7 @@
<beans:bean class="org.springframework.security.web.authentication.SavedRequestAwareAuthenticationSuccessHandler" name="awareAuthenticationSuccessHandler"/>
<beans:bean class="com.baeldung.security.RefererAuthenticationSuccessHandler" name="refererHandler"/>
<beans:bean class="com.baeldung.controller.SecuredResourceController" />
<beans:bean id ="passwordEncoder" class = "org.springframework.security.crypto.password.NoOpPasswordEncoder" factory-method = "getInstance" />
<authentication-manager>
<authentication-provider>