Day 15: Assignment - Spring
security
→ Create a Spring Boot project having the following service endpoints
CRUD endpoints for Student
CRUD endpoints for Course
We will further extend this application for implementing Security based on Student
and Admin roles in such a way that students can just explore the courses after
authentication/authorization and admin can Update/Delete/Create courses
Students will be able to register themselves to create a new account
NOTE: Follow the proper naming and URI guideline for endpoints according to request
types (GET, POST, PUT, DELETE, PATCH)
Implement Spring security in application and configure all service endpoints as follows..
Create security configuration for student and admin resources so that only students
can access student roles and admin can access everything.
NOTE: Use InMemoryUserDetailsManager for the user creation and UserDetailsService
implementation as show in classroom example.
Day 15: Assignment - Spring security 1