You are previewing Spring in Practice.

Spring in Practice

Cover of Spring in Practice by Willie Wheeler with Joshua White Published by Manning Publications
O'Reilly logo

Chapter 7. Authorizing user requests

This chapter covers

  • Implementing authorization using Spring Security
  • Using authentication levels, roles, and permissions
  • Establishing access control lists

Authorization is the area of security that deals with protecting resources from users or systems—generically, principals—which aren’t allowed to view, modify, or otherwise access them. It generally builds on authentication. Authentication establishes the principal’s identity, and authorization decides what the principal is allowed to do. This chapter continues the treatment of Spring Security we began in chapter 6, this time exploring its authorization features.

Figure 7.1 shows the relationship between the types of authorization in Spring Security ...

The best content for your career. Discover unlimited learning on demand for around $1/day.