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
Placing @AuthorizeReturnObject on a method that returns ResponseEntity is limiting since the user doesn't have access to ResponseEntity to add the appropriate Security annotations.
#14717 will add support for applying Security configuration to third-party components. As part of that, Security should consider providing a mixin for Spring Web container objects like ResponseEntity and ModelAndView.
The text was updated successfully, but these errors were encountered:
jzheaux
changed the title
Object Authorization should be enforced when wrapped in MVC return values
AuthorizeReturnObject should target the authorized object within MVC return values
Nov 11, 2024
Placing
@AuthorizeReturnObject
on a method that returnsResponseEntity
is limiting since the user doesn't have access toResponseEntity
to add the appropriate Security annotations.#14717 will add support for applying Security configuration to third-party components. As part of that, Security should consider providing a mixin for Spring Web container objects like
ResponseEntity
andModelAndView
.The text was updated successfully, but these errors were encountered: