aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Anderson <ejona@google.com>2023-04-20 13:09:53 -0700
committerGitHub <noreply@github.com>2023-04-20 13:09:53 -0700
commit8054b2032539b136939f21537a82c465999dc2f0 (patch)
treefba54b23c6b97d19e64abded38b52e4a9ba6fb12
parentc35870bce0068ac177ed38228206de0e1cf0326f (diff)
downloadgrpc-grpc-java-8054b2032539b136939f21537a82c465999dc2f0.tar.gz
authz: Add missing ExperimentalApi annotation
It was missed in b43ddc28
-rw-r--r--authz/src/main/java/io/grpc/authz/FileWatcherAuthorizationServerInterceptor.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/authz/src/main/java/io/grpc/authz/FileWatcherAuthorizationServerInterceptor.java b/authz/src/main/java/io/grpc/authz/FileWatcherAuthorizationServerInterceptor.java
index c474ead5a..ee7264e72 100644
--- a/authz/src/main/java/io/grpc/authz/FileWatcherAuthorizationServerInterceptor.java
+++ b/authz/src/main/java/io/grpc/authz/FileWatcherAuthorizationServerInterceptor.java
@@ -19,6 +19,7 @@ package io.grpc.authz;
import static com.google.common.base.Preconditions.checkNotNull;
import static java.nio.charset.StandardCharsets.UTF_8;
+import io.grpc.ExperimentalApi;
import io.grpc.Metadata;
import io.grpc.ServerCall;
import io.grpc.ServerCallHandler;
@@ -38,6 +39,7 @@ import java.util.logging.Logger;
* The class will get <a href="https://github.com/grpc/proposal/blob/master/A43-grpc-authorization-api.md#user-facing-authorization-policy">
* gRPC Authorization policy</a> from a JSON file during initialization.
*/
+@ExperimentalApi("https://github.com/grpc/grpc-java/issues/9746")
public final class FileWatcherAuthorizationServerInterceptor implements ServerInterceptor {
private static final Logger logger =
Logger.getLogger(FileWatcherAuthorizationServerInterceptor.class.getName());