Skip to main content

Roles, Authorities and RBAC

Learn Roles, Authorities and RBAC (Spring Security, Spring Boot) with worked examples, diagrams and interview questions. Free on JavaSchoolLab.

Authority: the One Real Concept Spring Security has exactly one permission concept: the granted authority , a plain string attached to the logged-in user. A role is just an authority whose name starts with ROLE_ . Everything else is naming convention.

More lessons in Spring Security