Add webmvc-http-security

Closes gh-58
This commit is contained in:
Rob Winch
2021-06-22 17:12:42 -05:00
parent 5822f7d357
commit 7d854dbf47
14 changed files with 488 additions and 0 deletions

View File

@@ -42,6 +42,7 @@ public class SecurityDataFetcherExceptionResolver implements DataFetcherExceptio
private AuthenticationTrustResolver authenticationTrustResolver = new AuthenticationTrustResolverImpl();
@Override
public Mono<List<GraphQLError>> resolveException(Throwable exception, DataFetchingEnvironment environment) {
if (exception instanceof AuthenticationException) {