From c0612bc5d51489f3f685eca3482dc586ee8bd638 Mon Sep 17 00:00:00 2001 From: yanrongzhen Date: Mon, 23 Oct 2023 16:01:25 +0800 Subject: [PATCH] fix exception --- .../apache/eventmesh/auth/token/impl/auth/AuthTokenUtils.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eventmesh-security-plugin/eventmesh-security-auth-token/src/main/java/org/apache/eventmesh/auth/token/impl/auth/AuthTokenUtils.java b/eventmesh-security-plugin/eventmesh-security-auth-token/src/main/java/org/apache/eventmesh/auth/token/impl/auth/AuthTokenUtils.java index 8ea524acd7..ac55f88c9d 100644 --- a/eventmesh-security-plugin/eventmesh-security-auth-token/src/main/java/org/apache/eventmesh/auth/token/impl/auth/AuthTokenUtils.java +++ b/eventmesh-security-plugin/eventmesh-security-auth-token/src/main/java/org/apache/eventmesh/auth/token/impl/auth/AuthTokenUtils.java @@ -140,7 +140,7 @@ public static boolean authAccess(AclProperties aclProperties) { Object topics = aclProperties.getExtendedField("topics"); if (!(topics instanceof Set)) { - throw new RuntimeException("abc"); + return false; } Set groupTopics = TypeUtils.castSet(topics, String.class);