Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/backend/authentication and authorization #27

Merged
merged 24 commits into from
Feb 11, 2024

Conversation

ibardos
Copy link
Owner

@ibardos ibardos commented Feb 11, 2024

No description provided.

- Add Spring Security related dependencies.
- Add JWT token management related dependencies.
- Update Spring Boot version.
- Update project description.
- Remove dependencies which are unnecessary from this point on.
- Use .yml to increase readability.
- Set logging level to: debug.
DTO class for ApplicationUser type.
Set up custom JWT filter for stateless session handling.
Service methods for stateless session handling with JWT.
Add secret values for JwtService.
Set the overall security level of the application by implementing securityFilterChain(). Set endpoint security, session handling, authenticationProvider.
Define beans to be used during authentication related processes.
Implement API endpoints necessary for authentication and registration.
Service class to implement login and register methods.
Implement JWT token retrieval method to help en-to-end test initial setups.
End-To-End tests against API endpoints in Manufacturer, MotorcycleModel, MotorcycleStock controllers now retrieve JWT token, and test authorization with different roles as well.
@ibardos ibardos merged commit fb0cac1 into master Feb 11, 2024
4 checks passed
@ibardos ibardos deleted the feature/backend/authentication_and_authorization branch February 13, 2024 12:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant