File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
spring-security-rest/src/main/resources Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change 1010 <http use-expressions =" true" entry-point-ref =" restAuthenticationEntryPoint" >
1111 <intercept-url pattern =" /api/**" access =" isAuthenticated()" />
1212
13- <sec : form-login authentication-success-handler-ref =" mySuccessHandler" />
13+ <sec : form-login authentication-success-handler-ref =" mySuccessHandler" authentication-failure-handler-ref = " myFailureHandler " />
1414
1515 <logout />
1616 </http >
1717
1818 <beans : bean id =" mySuccessHandler" class =" org.baeldung.security.MySavedRequestAwareAuthenticationSuccessHandler" />
19+ <beans : bean id =" myFailureHandler" class =" org.springframework.security.web.authentication.SimpleUrlAuthenticationFailureHandler" />
1920
2021 <authentication-manager alias =" authenticationManager" >
2122 <authentication-provider >
You can’t perform that action at this time.
0 commit comments