spring-security
spring-security copied to clipboard
ExceptionHandlingConfigurer provides no way to configure AuthenticationTrustResolver on ExceptionTranslationFilter
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.