mirror of
https://github.com/dataease/dataease.git
synced 2026-05-21 04:08:10 +08:00
refactor: 重构代码
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user