Fix documentation for Custom Authorization Manager by as1605 · Pull Request #18362 · spring-projects/spring-security · GitHub
Skip to content

Fix documentation for Custom Authorization Manager#18362

Closed
as1605 wants to merge 2 commits into
spring-projects:mainfrom
as1605:main
Closed

Fix documentation for Custom Authorization Manager#18362
as1605 wants to merge 2 commits into
spring-projects:mainfrom
as1605:main

Conversation

@as1605

@as1605 as1605 commented Dec 26, 2025

Copy link
Copy Markdown
Contributor

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

as1605 commented Dec 26, 2025

Copy link
Copy Markdown
Contributor Author

Signed-off-by: as1605 <1605.aditya.singh@gmail.com>
Signed-off-by: as1605 <1605.aditya.singh@gmail.com>
@jzheaux jzheaux self-assigned this Mar 27, 2026
@jzheaux jzheaux added in: docs An issue in Documentation or samples type: bug A general bug and removed status: waiting-for-triage An issue we've not yet triaged labels Mar 27, 2026
@jzheaux jzheaux added this to the 6.5.10 milestone Mar 27, 2026
@jzheaux

jzheaux commented Mar 27, 2026

Copy link
Copy Markdown
Collaborator

@jzheaux jzheaux closed this Mar 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

in: docs An issue in Documentation or samples type: bug A general bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

PreAuthorize using a custom AuthorizationManager (Documentation)

3 participants