Files
spring-graphql/samples/webmvc-http-security
Brian Clozel 289f4d0bac Simplify security samples
As of gh-81, specific security components are contributed by the
GraphQL Security auto-configuration.

This commit removes those from the custom SecurityConfig classes.
2021-07-06 17:02:38 +02:00
..
2021-07-06 17:02:38 +02:00
2021-06-28 14:17:16 -05:00
2021-07-06 15:35:23 +01:00

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.
  • AuthenticationException and AccessDeniedException resolved to GraphQL errors.
  • Tests with WebGraphQlTester and WebFlux without a server.