public class AuthUtils
extends Object
认证工具类
- 版本:
- $Id: $Id
- 作者:
- zhanglinfeng
-
-
方法概要
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
构造器详细资料
-
AuthUtils
public AuthUtils()
-
方法详细资料
-
checkAuth
public static boolean checkAuth(Set<String> noAuthResource,
String requestMethod,
String path,
org.springframework.util.PathMatcher pathMatcher)
鉴权检查
- 参数:
noAuthResource - a List object
requestMethod - a String object
path - a String object
pathMatcher - a PathMatcher object
- 返回:
- a boolean