Skip to content

Conversation

@as1605
Copy link

@as1605 as1605 commented Dec 26, 2025

Fixes #13967

Updates method security documentation to align with Spring 7 Security’s current authorization model by separating PreAuthorize and PostAuthorize logic into dedicated AuthorizationManager implementations, which was not possible in current example, throwing compilation error #13967 (comment).

Also clarifies optional customization of exceptions via MethodAuthorizationDeniedHandler.

@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Dec 26, 2025
@as1605
Copy link
Author

as1605 commented Dec 26, 2025

@pbborisov18 @marcusdacoregio @MEnnabah @abccbaandy Please review

Signed-off-by: as1605 <1605.aditya.singh@gmail.com>
Signed-off-by: as1605 <1605.aditya.singh@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

status: waiting-for-triage An issue we've not yet triaged

Projects

None yet

Development

Successfully merging this pull request may close these issues.

PreAuthorize using a custom AuthorizationManager (Documentation)

2 participants