-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add reusable default authentication failure handler #1384
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the PR @ddubson!
Please see review comments.
Also, please update the Protocol Endpoints reference for the 4 specific endpoints where it states...
AuthenticationFailureHandler — An internal implementation that uses the OAuth2Error ...
After all the changes have been applied, please squash to 1 commit and ensure the commit message ends with:
Related gh-1369
Closes gh-1384
...rity/oauth2/server/authorization/web/authentication/DefaultAuthenticationFailureHandler.java
Outdated
Show resolved
Hide resolved
...rity/oauth2/server/authorization/web/authentication/DefaultAuthenticationFailureHandler.java
Outdated
Show resolved
Hide resolved
...rity/oauth2/server/authorization/web/authentication/DefaultAuthenticationFailureHandler.java
Outdated
Show resolved
Hide resolved
...rity/oauth2/server/authorization/web/authentication/DefaultAuthenticationFailureHandler.java
Outdated
Show resolved
Hide resolved
...rity/oauth2/server/authorization/web/authentication/DefaultAuthenticationFailureHandler.java
Outdated
Show resolved
Hide resolved
...amework/security/oauth2/server/authorization/web/OAuth2TokenIntrospectionEndpointFilter.java
Show resolved
Hide resolved
...gframework/security/oauth2/server/authorization/web/OAuth2TokenRevocationEndpointFilter.java
Show resolved
Hide resolved
...oauth2/server/authorization/web/authentication/DefaultAuthenticationFailureHandlerTests.java
Outdated
Show resolved
Hide resolved
...oauth2/server/authorization/web/authentication/DefaultAuthenticationFailureHandlerTests.java
Outdated
Show resolved
Hide resolved
...oauth2/server/authorization/web/authentication/DefaultAuthenticationFailureHandlerTests.java
Outdated
Show resolved
Hide resolved
dcf80ef
to
4016465
Compare
@jgrandja -- addressed the PR review issues. Let me know if there are anymore changes needed. |
Thanks for the updates @ddubson. This is now merged. FYI, I added a polish commit. Let me know if you have any questions. |
partially addresses gh-1369