Add Reasons to AuthorizationDecisions #9287
Labels
in: core
An issue in spring-security-core
status: ideal-for-contribution
An issue that we actively are looking for someone to help us with
type: enhancement
A general enhancement
It's helpful to know why a security decision was made.
AuthorityReactiveAuthorizationManager
andAuthorityAuthorizationManager
could do this by constructing anAuthorityAuthorizationDecision
:Likewise with
AuthenticatedReactiveAuthorizationManager
,AuthenticatedAuthorizationManager
andAuthenticatedAuthorizationDecision
.Each implementation would likely need to override
toString
to assist with logging authorization events.The text was updated successfully, but these errors were encountered: