Spring Boot Security & OAuth2
Implement enterprise-grade security in Spring Boot with OAuth2 and JWT.
Prompt (feel free to adjust it):
Develop a secure Spring Boot application with Spring Security, OAuth2 integration, JWT token management, role-based access control (RBAC), method-level security, CORS configuration, CSRF protection, password encryption with BCrypt, integration with external identity providers (Google, GitHub), audit logging, rate limiting, SQL injection prevention, XSS protection, comprehensive unit and integration tests with TestContainers, and deployment with Docker. Include security headers and vulnerability scanning.
Use Cases
- Enterprise application security
- Multi-tenant applications
- API security implementation
- Identity and access management