Skip to content

Document @CurrentSecurityContext#18501

Merged
jzheaux merged 1 commit into
spring-projects:6.4.xfrom
soooii:GH-15595
Jan 15, 2026
Merged

Document @CurrentSecurityContext#18501
jzheaux merged 1 commit into
spring-projects:6.4.xfrom
soooii:GH-15595

Conversation

@soooii

@soooii soooii commented Jan 15, 2026

Copy link
Copy Markdown
Contributor

Description

This PR adds a dedicated documentation section for @CurrentSecurityContext in the Spring MVC integration guide. Previously, documentation for this annotation was only incidental to the anonymous access section. This update ensures better discoverability and provides a comprehensive guide similar to the @AuthenticationPrincipal section.

What’s changed

  • Added a new section for @CurrentSecurityContext in mvc.adoc with Java and Kotlin examples.
  • Updated anonymous.adoc with an internal cross-reference to the new section.
  • Explicitly mentioned @CurrentSecurityContext in architecture.adoc for better context.

Related Issues

Closes gh-15595

@soooii soooii marked this pull request as ready for review January 15, 2026 13:23
@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Jan 15, 2026
@jzheaux jzheaux added in: docs An issue in Documentation or samples type: enhancement A general enhancement and removed status: waiting-for-triage An issue we've not yet triaged labels Jan 15, 2026
@jzheaux jzheaux self-assigned this Jan 15, 2026
Signed-off-by: songhee <songhee9327@gmail.com>
@jzheaux jzheaux changed the base branch from main to 6.4.x January 15, 2026 18:00
@jzheaux jzheaux changed the title docs: add CurrentSecurityContext section and link references Document @CurrentSecurityContext Jan 15, 2026
@jzheaux jzheaux added this to the 6.4.14 milestone Jan 15, 2026
@jzheaux jzheaux enabled auto-merge (rebase) January 15, 2026 19:21
@jzheaux jzheaux merged commit fee6a9b into spring-projects:6.4.x Jan 15, 2026
6 checks passed
@jzheaux

jzheaux commented Jan 15, 2026

Copy link
Copy Markdown
Collaborator

Thanks, @soooii! This has been merged into 6.4.x, 6.5.x, 7.0.x, and main.

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: enhancement A general enhancement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Document @CurrentSecurityContext

3 participants