spring-security icon indicating copy to clipboard operation
spring-security copied to clipboard

ExceptionHandlingConfigurer provides no way to configure AuthenticationTrustResolver on ExceptionTranslationFilter

Open nitsoni opened this issue 3 years ago • 0 comments

Expected Behavior

There should be a way to set the custom implementation for AuthenticationTrustResolver on ExceptionTranslationFilter via ExceptionHandlingConfigurer

Current Behavior

Cant set this up using the configurer. And the configurer class is also final so one cant extend it.

Context

wanted to set the custom AuthenticationTrustResolver so that a Access denied exception can be treated as a authentication exception to trigger the authentication flow.

nitsoni avatar Sep 15 '22 04:09 nitsoni