You can put user info from HttpServletRequest into Invocation‘s attachment
in Consumer Filter.  And take out in the Provider filter.

2018-04-16 9:47 GMT+08:00 Huxing Zhang <hux...@apache.org>:

> Hi,
>
> Welcome!
>
> Could you provide some more details?
>
> e.g. Provide a simple test that can help us reproduce your problem, or
> you can paste your exception stack trace if you have any.
>
> 2018-04-11 19:45 GMT+08:00 张卓群 <zhangzhuo...@qipeipu.com>:
> > 我正在做dubbo的权限认证,现在发现我没有办法在dubbo filter里面获取当前用户的session信息。
> 系统是通过HttpServletRequest实时获取用户信息的,但是在filter里面我无法注入HttpServletReq
> uest,请问有什么方案或者建议吗?
>
> --
> Best Regards!
> Huxing
>

Reply via email to