diff --git a/pom.xml b/pom.xml index fd6a6b0..c64b269 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ 4.0.0 com.intuit.graphql graphql-authorization-java - 2.0.15-SNAPSHOT + 2.0.16-SNAPSHOT jar graphql-authorization-java @@ -36,7 +36,7 @@ 5.5.0 - 1.18.20 + 1.18.30 20.4 true 0.8.4 @@ -135,6 +135,19 @@ + + org.apache.maven.plugins + maven-javadoc-plugin + 3.3.1 + + + attach-javadocs + + jar + + + + org.jacoco jacoco-maven-plugin diff --git a/src/main/java/com/intuit/graphql/authorization/config/AuthzClientConfiguration.java b/src/main/java/com/intuit/graphql/authorization/config/AuthzClientConfiguration.java index 0e73d91..85e74a7 100644 --- a/src/main/java/com/intuit/graphql/authorization/config/AuthzClientConfiguration.java +++ b/src/main/java/com/intuit/graphql/authorization/config/AuthzClientConfiguration.java @@ -12,6 +12,7 @@ public interface AuthzClientConfiguration { /** * Provide the access control map + * @return Queries by Client */ Map> getQueriesByClient(); } diff --git a/src/main/java/com/intuit/graphql/authorization/enforcement/AuthzListener.java b/src/main/java/com/intuit/graphql/authorization/enforcement/AuthzListener.java index 00e242c..678df3c 100644 --- a/src/main/java/com/intuit/graphql/authorization/enforcement/AuthzListener.java +++ b/src/main/java/com/intuit/graphql/authorization/enforcement/AuthzListener.java @@ -13,6 +13,10 @@ public interface AuthzListener { /** * This will be called just before a query field is redacted for unauthorized access. It gives the execution context * and queryVisitorFieldEnvironment as metadata of the field being redacted. + * + * @param executionContext ExecutionContext + * @param queryVisitorFieldEnvironment Environment + * */ void onFieldRedaction(final ExecutionContext executionContext, final QueryVisitorFieldEnvironment queryVisitorFieldEnvironment);