@Configuration(proxyBeanMethods=false) @ConditionalOnWebApplication(type=REACTIVE) @ConditionalOnClass(value={graphql.GraphQL.class,org.springframework.graphql.web.webflux.GraphQlHttpHandler.class,org.springframework.security.config.annotation.web.reactive.EnableWebFluxSecurity.class}) @ConditionalOnBean(value=org.springframework.graphql.web.webflux.GraphQlHttpHandler.class) @AutoConfigureAfter(value=GraphQlWebFluxAutoConfiguration.class) public class GraphQlWebFluxSecurityAutoConfiguration extends Object
Auto-configuration
for enabling Security support for
Spring GraphQL with WebFlux.Constructor and Description |
---|
GraphQlWebFluxSecurityAutoConfiguration() |
Modifier and Type | Method and Description |
---|---|
org.springframework.graphql.security.ReactiveSecurityDataFetcherExceptionResolver |
reactiveSecurityDataFetcherExceptionResolver() |
public GraphQlWebFluxSecurityAutoConfiguration()
@Bean @ConditionalOnMissingBean public org.springframework.graphql.security.ReactiveSecurityDataFetcherExceptionResolver reactiveSecurityDataFetcherExceptionResolver()