Merge pull request #6240 from cror/fix-tests-mvc-login

Fix tests mvc login
This commit is contained in:
Loredana Crusoveanu 2019-01-28 22:14:19 +02:00 committed by GitHub
commit 35f38c8daf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 2 deletions

View File

@ -14,7 +14,9 @@
</http>
<beans:bean class="org.springframework.security.web.authentication.SavedRequestAwareAuthenticationSuccessHandler" name="awareAuthenticationSuccessHandler"/>
<beans:bean class="org.baeldung.security.RefererAuthenticationSuccessHandler" name="refererHandler"/>
<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>
@ -26,4 +28,3 @@
</beans:beans>