tutorials icon indicating copy to clipboard operation
tutorials copied to clipboard

Deny Access on Missing @PreAuthorize to Spring Controller Methods uses old @EnableGlobalMethodSecurity

Open wojteko22 opened this issue 2 years ago • 2 comments

Please update tutorial using new @EnableMethodSecurity

wojteko22 avatar Sep 07 '22 08:09 wojteko22

Hey, @wojteko22.

Can you provide a link to the article so we can take a look?

ulisseslima avatar Sep 08 '22 22:09 ulisseslima

https://www.baeldung.com/spring-deny-access

wojteko22 avatar Sep 09 '22 15:09 wojteko22

Thanks @wojteko22 It's not clear from the documentation yet if the EnableGlobalMethodSecurity annotation will be deprecated. The official docs still list both options. We'll add a new dedicated topic for the new annotation for now, but wait on updating existing articles.

lor6 avatar Sep 21 '22 08:09 lor6

@lor6 EnableGlobalMethodSecurity is deprecated in Spring Security 5.8.0, any news about updating article?

wojteko22 avatar Dec 05 '22 08:12 wojteko22

@lor6

We'll add a new dedicated topic for the new annotation for now, but wait on updating existing articles.

Where can I find this topic?

wojteko22 avatar Dec 14 '23 11:12 wojteko22