public class CustomOauth2Expersionn
extends java.lang.Object
| Constructor and Description |
|---|
CustomOauth2Expersionn(org.springframework.security.core.Authentication authentication) |
| Modifier and Type | Method and Description |
|---|---|
com.alibaba.fastjson.JSONObject |
getRealPath(javax.servlet.http.HttpServletRequest request)
根据访问URL获取接口真实地址
|
boolean |
isPass(org.springframework.security.core.Authentication authentication,
javax.servlet.http.HttpServletRequest request)
oauth访问过滤,包含对web用户的过滤和对客户端接口用户的过滤
|
public CustomOauth2Expersionn(org.springframework.security.core.Authentication authentication)
public com.alibaba.fastjson.JSONObject getRealPath(javax.servlet.http.HttpServletRequest request)
request - 请求对象public boolean isPass(org.springframework.security.core.Authentication authentication,
javax.servlet.http.HttpServletRequest request)
authentication - request -