Skip to content

Add meta-annotation support for EnableMethodSecurity #12870

Closed
@twelvet-s

Description

@twelvet-s

Describe the bug
After using the version Latest corresponding to Boot3 and opening the annotation @ EnableMethodSecurity, @ PreAuthorize is still invalid, but using the old @ EnableGlobalMethodSecurity is normal to enter @ PreAuthorize. What is missing or a bug

To Reproduce
Use @ EnableMethodSecurity

Expected behavior
@PreAuthorize needs to work

Metadata

Metadata

Labels

in: configAn issue in spring-security-configtype: enhancementA general enhancement

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions