Relative Content

Tag Archive for spring-securityauthorizationspring-boot-3jakarta-migration

Swagger API giving Response Code 400 : Access Denied after moving @RolesAllowed to jakarta from javax

I am trying to upgrade microservice app to Spring Boot 3.3.0.
After upgradation service is up and running but found that Swagger APIs are giving Response Code 400 : Access Denied. Authoriztion & Filter related config has to be changed along with javax to jakarta for the libraries. So was not sure whats causing the problem as no error was shown in the Console. Then I moved back to javax annotation for just @RolesAllowed one and it started working. Any idea whats causing the issue and how to resolve.