You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Any unhandled authorization failures are not propagated to the ExceptionTranslationFilter and instead result in a 500.
Security currently supports using @HandleAuthorizationDenied to provide behavior like ignoring that field when the response is serialized. However, it would be helpful to be able to leverage the logic in ExceptionTranslationFilter, including calling any configured AccessDeniedHandler.
The text was updated successfully, but these errors were encountered:
When using
@AuthorizeReturnObject
on a controller method like so:Any unhandled authorization failures are not propagated to the
ExceptionTranslationFilter
and instead result in a 500.Security currently supports using
@HandleAuthorizationDenied
to provide behavior like ignoring that field when the response is serialized. However, it would be helpful to be able to leverage the logic inExceptionTranslationFilter
, including calling any configuredAccessDeniedHandler
.The text was updated successfully, but these errors were encountered: