- Implement JWT authentication (the JJWT library included in the pom.xml)
- Implement controllers with security rules.
- Add DTO for entity
User
Task
ToDo
, for exampleTaskRequestDto
TaskResponseDto
- Use Postman to demonstrate the functionality
There are three predefined users in the DB with roles ADMIN and USER.
Login | Password | Role |
---|---|---|
mike@mail.com | 1111 | ADMIN |
nick@mail.com | 2222 | USER |
nora@mail.com | 3333 | USER |