Skip to content

Commit e43f86d

Browse files
authored
EnableGlobalMethodSecurity is deprecated (#997)
1 parent 5c24705 commit e43f86d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/en/server/security.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,7 @@ Of course, it is also possible to just use spring-security's annotations.
256256
For this use case you have to add the following annotation to one of your `@Configuration` classes:
257257

258258
````java
259-
@EnableGlobalMethodSecurity(___Enabled = true, proxyTargetClass = true)
259+
@EnableMethodSecurity(proxyTargetClass = true)
260260
````
261261

262262
> Please note that `proxyTargetClass = true` is required! If you forget to add it, you will get a lot of `UNIMPLEMENTED`

0 commit comments

Comments
 (0)