Background
DevSecurityConfig was added temporarily to allow endpoint testing with simulated users via the X-Dev-User HTTP header. It disables CSRF and opens all endpoints without real authentication. This needs to be replaced before the project is considered production-ready.
Tasks
Background
DevSecurityConfigwas added temporarily to allow endpoint testing with simulated users via theX-Dev-UserHTTP header. It disables CSRF and opens all endpoints without real authentication. This needs to be replaced before the project is considered production-ready.Tasks
src/main/java/org/example/vet1177/config/DevSecurityConfig.javasrc/main/java/org/example/vet1177/security/auth/dto/AuthResponse.java(currently empty placeholder)SecurityFilterChainso endpoints are properly protected