Skip to content
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

Link to @EnableMethodSecurity instead of the deprecated @EnableGlobalMethodSecurity #43308

Closed
yeoleobun opened this issue Nov 28, 2024 · 0 comments
Assignees
Labels
type: documentation A documentation update
Milestone

Comments

@yeoleobun
Copy link

@EnableGlobalMethodSecurity at

To add method-level security to a web application, you can also add javadoc:org.springframework.security.config.annotation.method.configuration.EnableGlobalMethodSecurity[format=annotation] with your desired settings.

was deprecated.

Method Security:

You can activate it in your application by annotating any @configuration class with @EnableMethodSecurity ...

Migrating from @EnableGlobalMethodSecurity:

If you are using @EnableGlobalMethodSecurity, you should migrate to @EnableMethodSecurity.

@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Nov 28, 2024
@wilkinsona wilkinsona added type: documentation A documentation update and removed status: waiting-for-triage An issue we've not yet triaged labels Nov 28, 2024
@wilkinsona wilkinsona added this to the 3.3.x milestone Nov 28, 2024
@wilkinsona wilkinsona changed the title Spring Security doc was outdated Link to @EnableMethodSecurity instead of the deprecated @EnableGlobalMethodSecurity Nov 28, 2024
@wilkinsona wilkinsona self-assigned this Nov 28, 2024
@wilkinsona wilkinsona modified the milestones: 3.3.x, 3.3.7 Nov 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: documentation A documentation update
Projects
None yet
Development

No branches or pull requests

3 participants