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
This is particularly useful when supporting both a web front end as well as RESTful endpoint, where communicating access denial may differ depending on the type of request.
The text was updated successfully, but these errors were encountered:
This introduces the capability for users to wire denial handling
by request matcher, similar to how users can already do with
authentication entry points.
This is handy for when denial behavior differs based on the contents
of the request, for example, when the Authorization header indicates
an OAuth2 Bearer Token request vs Basic authentication.
Fixes: spring-projectsgh-5478
ExceptionHandlingConfigurer
allows forAuthenticationEntryPoint
s to be wired byRequestMatcher
:Add this same ability for
AccessDeniedHandler
:This is particularly useful when supporting both a web front end as well as RESTful endpoint, where communicating access denial may differ depending on the type of request.
The text was updated successfully, but these errors were encountered: