permitAll()the requests doesn't need any authentication,Authenticationis never retrieveddenyAll()the requests isn't allowed in any circumstances,Authenticationis never retrievedhasAuthority(<write> || <read> || <...>)requires anAuthenticationwhich has theGrantedAuthoritythat matches with the argumenthasRole()--> A shortcut forhasAuthority()that prefixesROLE_or prefix configuredhasAnyRole()--> A shortcut forhasAnyAuthority()that prefixesROLE_or prefix configuredaccess--> A SpEL expression that evaluates to a boolean value
cris6h16/SpringSecurity_authorizeHttpRequests
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|