Skip to content

Clarify need for method attribute in JSP authorize tag#18566

Merged
jzheaux merged 2 commits intospring-projects:6.5.xfrom
Hann244:docs/gh-16530-jsp-method-attribute
Feb 25, 2026
Merged

Clarify need for method attribute in JSP authorize tag#18566
jzheaux merged 2 commits intospring-projects:6.5.xfrom
Hann244:docs/gh-16530-jsp-method-attribute

Conversation

@Hann244
Copy link
Copy Markdown
Contributor

@Hann244 Hann244 commented Jan 24, 2026

Closes gh-16530

Adds a NOTE to the JSP taglibs documentation clarifying that when authorization is configured with a method-specific RequestMatcher, sec:authorize should specify the corresponding method so it is evaluated against the intended rule.

This follows the background discussion in gh-16529.

@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Jan 24, 2026
@jzheaux jzheaux self-assigned this Feb 18, 2026
@jzheaux jzheaux added type: enhancement A general enhancement and removed status: waiting-for-triage An issue we've not yet triaged labels Feb 18, 2026
@jzheaux jzheaux modified the milestone: 7.1.0-M3 Feb 18, 2026
@jzheaux jzheaux force-pushed the docs/gh-16530-jsp-method-attribute branch from 7cf023d to 3ef7f2f Compare February 24, 2026 21:23
Hann244 and others added 2 commits February 24, 2026 14:24
Closes spring-projectsgh-16530

This aligns the JSP documentation with the changes made in spring-projectsgh-16529.
Added a NOTE to clarify that the method attribute is required when the underlying RequestMatcher is method-specific.

Signed-off-by: onhann <gusgus1467@naver.com>
- Combined explanation of method attribute with usage recommendations
- Used one sentence per line format

Issue spring-projectsgh-16530

Signed-off-by: Josh Cummings <3627351+jzheaux@users.noreply.github.com>
@jzheaux jzheaux force-pushed the docs/gh-16530-jsp-method-attribute branch from 3ef7f2f to 4d43edf Compare February 24, 2026 21:24
@jzheaux jzheaux changed the base branch from main to 6.5.x February 24, 2026 21:25
@jzheaux jzheaux enabled auto-merge February 24, 2026 21:26
@jzheaux jzheaux merged commit bec25ed into spring-projects:6.5.x Feb 25, 2026
7 checks passed
@jzheaux
Copy link
Copy Markdown
Contributor

jzheaux commented Feb 25, 2026

Thanks, @Hann244! This clarification is now merged into 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

type: enhancement A general enhancement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Clarify in JSP documentation where method attribute is required

3 participants