Files
spring-graphql/samples/webflux-security
rstoyanchev 3214a9cfc9 Introduce GraphQlClientException hierarchy
Refine exception handling and ensure a hierarchy of exceptions that
allows differentiating between transport errors vs field errors while
accessing an invalid data or field.

See gh-10
2022-03-15 09:00:28 +00:00
..
2021-07-07 09:02:51 +01:00

Spring Security for GraphQL HTTP Endpoint with WebFlux

  • 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.