Company: Accenture customer software engineer_28april
Difficulty: medium
This project is a practical assessment designed to evaluate understanding and skills in working with the Spring Security framework in a Java-based application. The challenge revolves around implementing and configuring security filters in a Spring Boot application. Configure and implement a org.springframework.web.filter.OncePerRequestFilter to add an attribute to the request so that appropriate test cases pass. Configure and implement a org.springframework.web.context.request.WebRequestInterceptor to add another attribute to the request to signify that the request has been processed. The corresponding test cases should pass. In the same filter class defined in Step 2, add a theoretical maintenance mode check where the value of the maintenance mode is picked up from the properties file from the appropriate profile config file. Reference Files UserController.java package com.hackerrank.fraudulent.controller; import org.springframework.http.ResponseEntity; import org.springframework.web.