Glossary: Spring Boot Beyond the Basics
Role
Also written: roles, authority, ROLE_
An authority (a named permission) whose name starts with `ROLE_`, such as `ROLE_STAFF`. `hasRole("STAFF")` checks for exactly that.
Glossary: Spring Boot Beyond the Basics
Also written: roles, authority, ROLE_
An authority (a named permission) whose name starts with `ROLE_`, such as `ROLE_STAFF`. `hasRole("STAFF")` checks for exactly that.