Take a look at: https://shiro.apache.org/spring.html#secure-spring-remoting

Most of the Spring samples also include a remoting example:
https://github.com/apache/shiro/tree/master/samples

There is also an aspectj example

On Tue, Jan 24, 2017 at 11:24 PM, yoann159 <[email protected]>
wrote:

> How to make RMI work with Apache Shiro?
>
> Each calls on a method with @RequireRoles("..") execute on different thread
> shared by multiple clients.
>
> Is there a way to intercept this AOP, set the current Subject for this
> thread (threadLocal), then unset it at the end of the method?
>
> Thank you for your help
>
>
>
> --
> View this message in context: http://shiro-user.582556.n2.
> nabble.com/How-to-make-RMI-work-with-Apache-Shiro-tp7581467.html
> Sent from the Shiro User mailing list archive at Nabble.com.
>

Reply via email to