Unverified 提交 18854ffa authored 作者: fit2cloud-chenyw's avatar fit2cloud-chenyw 提交者: GitHub

Merge pull request #1137 from dataease/pr@v1.4@refactor_重构提示信息

refactor: 重构提示信息
...@@ -58,7 +58,7 @@ public class F2CRealm extends AuthorizingRealm { ...@@ -58,7 +58,7 @@ public class F2CRealm extends AuthorizingRealm {
if (auth instanceof ASKToken) { if (auth instanceof ASKToken) {
if (!authUserService.pluginLoaded()) { if (!authUserService.pluginLoaded()) {
throw new AuthenticationException("lic error"); throw new AuthenticationException("license error");
} }
Object accessKey = auth.getPrincipal(); Object accessKey = auth.getPrincipal();
...@@ -76,7 +76,7 @@ public class F2CRealm extends AuthorizingRealm { ...@@ -76,7 +76,7 @@ public class F2CRealm extends AuthorizingRealm {
CacheUtils.get("lic_info", "lic"); CacheUtils.get("lic_info", "lic");
}catch (Exception e) { }catch (Exception e) {
LogUtil.error(e); LogUtil.error(e);
throw new AuthenticationException("lic error"); throw new AuthenticationException("license error");
} }
TokenInfo tokenInfo = null; TokenInfo tokenInfo = null;
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论