public class ValiInterceptor
extends org.springframework.web.servlet.handler.HandlerInterceptorAdapter
| 构造器和说明 |
|---|
ValiInterceptor() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
afterCompletion(javax.servlet.http.HttpServletRequest arg0,
javax.servlet.http.HttpServletResponse arg1,
Object arg2,
Exception arg3) |
boolean |
board(StringBuffer content,
String methodName) |
boolean |
direct(Permission classPermission,
Permission methondPermission,
String methodName,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
protected Integer[] |
do1(String[] ps,
String[] users,
Integer[] integers) |
private String |
parseKey(String key,
Method objMethod,
Object[] objects,
String an) |
void |
postHandle(javax.servlet.http.HttpServletRequest arg0,
javax.servlet.http.HttpServletResponse arg1,
Object arg2,
org.springframework.web.servlet.ModelAndView arg3) |
boolean |
preHandle(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
Object handler) |
private String |
valiCondition(String condition,
String an) |
private void |
valiRole(AuthorizationInfo authorizationInfo,
Permission classPermission,
Permission methondPermission,
String methodName) |
public void afterCompletion(javax.servlet.http.HttpServletRequest arg0,
javax.servlet.http.HttpServletResponse arg1,
Object arg2,
Exception arg3)
throws Exception
afterCompletion 在接口中 org.springframework.web.servlet.HandlerInterceptorafterCompletion 在类中 org.springframework.web.servlet.handler.HandlerInterceptorAdapterExceptionpublic void postHandle(javax.servlet.http.HttpServletRequest arg0,
javax.servlet.http.HttpServletResponse arg1,
Object arg2,
org.springframework.web.servlet.ModelAndView arg3)
throws Exception
postHandle 在接口中 org.springframework.web.servlet.HandlerInterceptorpostHandle 在类中 org.springframework.web.servlet.handler.HandlerInterceptorAdapterExceptionpublic boolean preHandle(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
Object handler)
throws Exception
preHandle 在接口中 org.springframework.web.servlet.HandlerInterceptorpreHandle 在类中 org.springframework.web.servlet.handler.HandlerInterceptorAdapterExceptionpublic boolean direct(Permission classPermission, Permission methondPermission, String methodName, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws ExceptionTokenInvalid, ExceptionTokenGroupInvalid, ExceptionJWTInvalid, ExceptionRedisInvalid, ParseException
public boolean board(StringBuffer content, String methodName) throws ExceptionTokenInvalid, ExceptionTokenGroupInvalid, ExceptionJWTInvalid, ExceptionRedisInvalid, ParseException
private void valiRole(AuthorizationInfo authorizationInfo, Permission classPermission, Permission methondPermission, String methodName) throws ExceptionTokenInvalid, ExceptionTokenGroupInvalid
protected Integer[] do1(String[] ps, String[] users, Integer[] integers) throws ExceptionTokenGroupInvalid
private String parseKey(String key, Method objMethod, Object[] objects, String an) throws ExceptionRediscacheKeyInvalid
private String valiCondition(String condition, String an) throws ExceptionRediscacheInvalid
Copyright © 2020. All rights reserved.