Sample with Spring Security in a Spring MVC application.
Main features:
- Spring Security config secures GraphQL HTTP endpoint.
- Fine-grained, method-level security on SalaryService.
AuthenticationExceptionandAccessDeniedExceptionresolved to GraphQL errors.- Tests with
WebGraphQlTesterand WebFlux without a server.