Class GraphQlWebFluxSecurityAutoConfiguration
java.lang.Object
org.springframework.boot.autoconfigure.graphql.security.GraphQlWebFluxSecurityAutoConfiguration
@AutoConfiguration(after=GraphQlWebFluxAutoConfiguration.class)
@ConditionalOnWebApplication(type=REACTIVE)
@ConditionalOnClass({graphql.GraphQL.class,org.springframework.graphql.server.webflux.GraphQlHttpHandler.class,org.springframework.security.config.annotation.web.reactive.EnableWebFluxSecurity.class})
@ConditionalOnBean(org.springframework.graphql.server.webflux.GraphQlHttpHandler.class)
public class GraphQlWebFluxSecurityAutoConfiguration
extends Object
Auto-configuration
for enabling Security support for
Spring GraphQL with WebFlux.- Since:
- 2.7.0
- Author:
- Brian Clozel
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.graphql.execution.ReactiveSecurityDataFetcherExceptionResolver
-
Constructor Details
-
GraphQlWebFluxSecurityAutoConfiguration
public GraphQlWebFluxSecurityAutoConfiguration()
-
-
Method Details
-
reactiveSecurityDataFetcherExceptionResolver
@Bean @ConditionalOnMissingBean public org.springframework.graphql.execution.ReactiveSecurityDataFetcherExceptionResolver reactiveSecurityDataFetcherExceptionResolver()
-