@ PermitAll
@ PreAuthorize ("isAnonymous ()")
@ PreAuthorize ("permitAll")
all kinds of writing methods have been tried, but they are all invalid. It is impossible to request these authentication-free interfaces directly.
< hr >all the writing methods that can be written by Baidu have been written. It"s still invalid.
@EnableGlobalMethodSecurity(prePostEnabled = true, securedEnabled = true, jsr250Enabled = true)
public class SecurityConfiguration extends WebSecurityConfigurerAdapter {
< hr >
even the source code has been found out. I can only see the interception and construction of these annotations at startup, but I can"t find where to use these annotations to judge their identity.
13
ask for help (see title).
to complain, it is more comfortable to write your own access control. What shiro and springsecurity are floating clouds.