-
Notifications
You must be signed in to change notification settings - Fork 6.3k
Add Reasons to AuthorizationDecisions #9287
Copy link
Copy link
Closed
Labels
in: coreAn issue in spring-security-coreAn issue in spring-security-corestatus: ideal-for-contributionAn issue that we actively are looking for someone to help us withAn issue that we actively are looking for someone to help us withtype: enhancementA general enhancementA general enhancement
Metadata
Metadata
Assignees
Labels
in: coreAn issue in spring-security-coreAn issue in spring-security-corestatus: ideal-for-contributionAn issue that we actively are looking for someone to help us withAn issue that we actively are looking for someone to help us withtype: enhancementA general enhancementA general enhancement
Type
Fields
Give feedbackNo fields configured for issues without a type.
It's helpful to know why a security decision was made.
AuthorityReactiveAuthorizationManagerandAuthorityAuthorizationManagercould do this by constructing anAuthorityAuthorizationDecision:Likewise with
AuthenticatedReactiveAuthorizationManager,AuthenticatedAuthorizationManagerandAuthenticatedAuthorizationDecision.Each implementation would likely need to override
toStringto assist with logging authorization events.