forked from github/dataease
refactor: 重构代码
This commit is contained in:
parent
8b7934539e
commit
e0ae23fb07
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user