Look inside
In this liveProject, you will secure the backend of an app to protect users’ data, and design the backend as a resource server in an OAuth 2 system. You’ll configure resource server capabilities to apply endpoint and method authorization rules, and use authenticated principal details in the repository.
This project is designed for learning purposes and is not a complete, production-ready application or solution.
prerequisites
This liveProject is for intermediate Java developers familiar with Spring and Spring Security. To begin this liveProject you need to be familiar with the following tools, technologies, and techniques.
TOOLS
- OAuth 2 app roles
- Spring Security basic contracts such as UserDetailsService, PasswordEncoder, and GrantedAuthority
- SQL queries for CRUD operations
- Postman or cURL for endpoint testing
TECHNIQUES
- Authorization code, password, client credentials, and refresh token grant types
- Unit and integration testing
you will learn
In this liveProject, you’ll master essential skills for securing Java-based microservices architectures.
- Implement a Spring Boot service that takes the role of a resource server in an OAuth 2 System
- Configure endpoint authorization rules
- Configure method authorization rules
- Use the authenticated principal details with queries at the repository level
- Write integration tests for the implemented authorization configurations