From 4200bcf1d4a1c5b1ca5d532d12ad6158c1a01da4 Mon Sep 17 00:00:00 2001 From: fit2cloud-chenyw Date: Sat, 6 Nov 2021 15:43:52 +0800 Subject: [PATCH] =?UTF-8?q?refactor:=20=E9=87=8D=E6=9E=84=E6=8F=90?= =?UTF-8?q?=E7=A4=BA=E4=BF=A1=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- backend/src/main/java/io/dataease/auth/config/F2CRealm.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/backend/src/main/java/io/dataease/auth/config/F2CRealm.java b/backend/src/main/java/io/dataease/auth/config/F2CRealm.java index d22abcc79a..ca9dd2f013 100644 --- a/backend/src/main/java/io/dataease/auth/config/F2CRealm.java +++ b/backend/src/main/java/io/dataease/auth/config/F2CRealm.java @@ -58,7 +58,7 @@ public class F2CRealm extends AuthorizingRealm { if (auth instanceof ASKToken) { if (!authUserService.pluginLoaded()) { - throw new AuthenticationException("lic error"); + throw new AuthenticationException("license error"); } Object accessKey = auth.getPrincipal(); @@ -76,7 +76,7 @@ public class F2CRealm extends AuthorizingRealm { CacheUtils.get("lic_info", "lic"); }catch (Exception e) { LogUtil.error(e); - throw new AuthenticationException("lic error"); + throw new AuthenticationException("license error"); } TokenInfo tokenInfo = null;