MVC config should register custom arguments resolvers with default ExceptionHandlerExceptionResolver [SPR-12058] #16674
Labels
in: web
Issues in web modules (web, webmvc, webflux, websocket)
type: enhancement
A general enhancement
Milestone
Jakub Narloch opened SPR-12058 and commented
Apparently the ExceptionHandlerExceptionResolver despite having the proper #setCustomArgumentResolvers does not register the arguments resolver that are being registered within web application through WebMvcConfigurerAdapters.
Whether this has been done for purpose, I think that this could be extended to allow additional argument resolutions in the error handling methods like for instance: https://jira.spring.io/browse/SEC-2696
Affects: 4.0.6, 4.2.4
Issue Links:
@AuthenticationPrincipal
into@ExceptionHandler
method. ("is duplicated by")Referenced from: pull request #615, and commits 1cf0fb8
The text was updated successfully, but these errors were encountered: