@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.