类 DelegatingShiroFilter
java.lang.Object
com.flyfish.oauth.shiro.delegate.DelegatingShiroFilter
- 所有已实现的接口:
org.springframework.cglib.proxy.Callback, org.springframework.cglib.proxy.MethodInterceptor
public class DelegatingShiroFilter
extends Object
implements org.springframework.cglib.proxy.MethodInterceptor
代理的Realm,直接使用原realm实现任何逻辑
- 作者:
- wangyu
-
方法概要
-
方法详细资料
-
delegate
public static javax.servlet.Filter delegate(javax.servlet.Filter delegated) 代理realm,支持代理会执行cglib代理,不支持直接返回- 参数:
delegated- 代理的realm- 返回:
- 结果
-
intercept
public Object intercept(Object o, Method method, Object[] args, org.springframework.cglib.proxy.MethodProxy methodProxy) throws Throwable 核心逻辑- 指定者:
intercept在接口中org.springframework.cglib.proxy.MethodInterceptor- 参数:
o- 目标对象method- 方法args- 参数methodProxy- 代理对象- 返回:
- 结果
- 抛出:
Throwable- 可能抛出的异常,照常直接抛出
-
getProxy
public javax.servlet.Filter getProxy()
-