Skip to content

SecurityAnnotationScanner's method comparison should use .equals #17143

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
jzheaux opened this issue May 19, 2025 · 0 comments
Closed

SecurityAnnotationScanner's method comparison should use .equals #17143

jzheaux opened this issue May 19, 2025 · 0 comments
Assignees
Labels
in: aspects An issue in spring-security-aspects in: core An issue in spring-security-core type: bug A general bug
Milestone

Comments

@jzheaux
Copy link
Contributor

jzheaux commented May 19, 2025

When using == to look for a method match, it may not account for technologies like AspectJ that weave behavior around a method at compile time.

@jzheaux jzheaux added status: waiting-for-triage An issue we've not yet triaged type: bug A general bug labels May 19, 2025
@jzheaux jzheaux self-assigned this May 19, 2025
@jzheaux jzheaux added in: core An issue in spring-security-core in: aspects An issue in spring-security-aspects and removed status: waiting-for-triage An issue we've not yet triaged labels May 19, 2025
@jzheaux jzheaux added this to the 6.4.6 milestone May 19, 2025
jzheaux added a commit that referenced this issue May 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: aspects An issue in spring-security-aspects in: core An issue in spring-security-core type: bug A general bug
Projects
None yet
Development

No branches or pull requests

1 participant