OhadR / authentication-flows

oAuth2 sample: auth-server, resource server and client. "Authentication-Flows" is also a sub-module here.
42 stars 54 forks source link

authentication failure flow is not working properly #75

Closed OhadR closed 7 years ago

OhadR commented 7 years ago

when user fails to login, his counter of attempts does not decrease, and in the logs we see "... - login failed for user: null"

it happens because of #74 ; since I've upgraded Spring's version, Spring uses "username" rather than "j_username". Hence my AuthenticationFailureHandler could not get the username from the form, hence could not decrease his counter/lock, etc.

OhadR commented 7 years ago

closed as this is a technical duplication of #74 "delete AuthenticationFailureHandler.SPRING_SECURITY_FORM_USERNAME_KEY"