question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

ExceptionTranslationWebFilter should handle AuthenticationException

See original GitHub issue

On 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:closed
  • Created 5 years ago
  • Comments:6 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
edeandreacommented, Dec 3, 2018

I opened #6219 for the UserDetailsChecker

1reaction
rwinchcommented, Dec 3, 2018

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?

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found