ExceptionTranslationWebFilter should handle AuthenticationException
See original GitHub issueOn the servlet side, ExceptionTranslationFilter
handles both AccessDeniedException
and AuthenticationException
by sending them to the AuthenticationEntryPoint
. On the reactive side ExceptionTranslationWebFilter
only does this for AccessDeniedException
.
ExceptionTranslationWebFilter
should handle AuthenticationException
in the same manner as it’s servlet-based counterpart.
If this ticket is deemed valid I’m happy to supply a PR for it.
Issue Analytics
- State:
- Created 5 years ago
- Comments:6 (6 by maintainers)
Top Results From Across the Web
Handle spring security authentication exceptions with ...
I tried to find an elegant way to inject MessageConverter into Spring Security so that they could catch the exception and return them...
Read more >spring-projects/spring-security - Gitter
I have migrated my application successfully from spring boot 1.5 to Spring Boot 2.1.0 with minor changes with the help of the migration...
Read more >Handle Spring Security Exceptions With @ExceptionHandler
In this tutorial, we will learn how to globally handle Spring security exceptions with @ExceptionHandler and @ControllerAdvice.
Read more >Index (spring-security-web 5.0.1.RELEASE API) - Javadoc.io
Creates an instance which will authenticate against the supplied ... Handles any AccessDeniedException and AuthenticationException thrown within the filter ...
Read more >Reactive Spring Security Authentication | by Mario Gray
We can customize the HTTP-BASIC flow by configuring exception handling on the ServerHttpSecurity. Override the provided ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I opened #6219 for the
UserDetailsChecker
Thanks for the response @edeandrea! I’m going to close this and we can discuss other changes via another ticket. Can you please create a new ticket to discuss your proposal around
UserDetailsChecker
?