As of gh-81, specific security components are contributed by the GraphQL Security auto-configuration. This commit removes those from the custom SecurityConfig classes.
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.