on-internet
← Community

Spring Boot + Spring Security + Spring Rest Issue: 'Access Denied' error

Stack Overflow ·

I created a Spring Boot application from the Spring initializer, included no dependencies at all. Then I imported this application into STS-4.4.2. I created a rest controller and added a single POST method. My controller class is below: import org.springframework.http.HttpStatus; import org.springframework.web.bind.annotation.PostMapping; import org.springframework.web.bind.annotation.RequestBody; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.ResponseStatus; import org.springframework.web.bind.annotation.RestController; @RestContr

Comments

Sign in or sign up to comment and upvote.

No comments yet.