整合Shiro

This commit is contained in:
2023-07-09 23:28:42 +08:00
parent b8a7fe4f53
commit 60b061b7c6
9 changed files with 156 additions and 0 deletions

View File

@@ -0,0 +1,23 @@
package com.wuyiqi.netstateproc.config;
import org.apache.shiro.authc.AuthenticationException;
import org.apache.shiro.authc.AuthenticationInfo;
import org.apache.shiro.authc.AuthenticationToken;
import org.apache.shiro.realm.Realm;
public class NetStateRealm implements Realm {
@Override
public String getName() {
return null;
}
@Override
public boolean supports(AuthenticationToken token) {
return false;
}
@Override
public AuthenticationInfo getAuthenticationInfo(AuthenticationToken token) throws AuthenticationException {
return null;
}
}