Class GraphQlWebMvcSecurityAutoConfiguration
java.lang.Object
org.springframework.boot.autoconfigure.graphql.security.GraphQlWebMvcSecurityAutoConfiguration
@AutoConfiguration(after=GraphQlWebMvcAutoConfiguration.class)
@ConditionalOnWebApplication(type=SERVLET)
@ConditionalOnClass({graphql.GraphQL.class,org.springframework.graphql.server.webmvc.GraphQlHttpHandler.class,org.springframework.security.config.annotation.web.configuration.EnableWebSecurity.class})
@ConditionalOnBean(org.springframework.graphql.server.webmvc.GraphQlHttpHandler.class)
public class GraphQlWebMvcSecurityAutoConfiguration
extends Object
Auto-configuration
for enabling Security support for
Spring GraphQL with MVC.- Since:
- 2.7.0
- Author:
- Brian Clozel
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.graphql.execution.SecurityDataFetcherExceptionResolver
-
Constructor Details
-
GraphQlWebMvcSecurityAutoConfiguration
public GraphQlWebMvcSecurityAutoConfiguration()
-
-
Method Details
-
securityDataFetcherExceptionResolver
@Bean @ConditionalOnMissingBean public org.springframework.graphql.execution.SecurityDataFetcherExceptionResolver securityDataFetcherExceptionResolver()
-