提交 e0ae23fb authored 作者: fit2cloud-chenyw's avatar fit2cloud-chenyw

refactor: 重构代码

上级 8b793453
......@@ -57,6 +57,9 @@ public class F2CRealm extends AuthorizingRealm {
protected AuthenticationInfo doGetAuthenticationInfo(AuthenticationToken auth) throws AuthenticationException {
if (auth instanceof ASKToken) {
if (!authUserService.pluginLoaded()) {
throw new AuthenticationException("lic error");
}
Object accessKey = auth.getPrincipal();
Object signature = auth.getCredentials();
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论