shiro-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brian Demers <brian.dem...@gmail.com>
Subject Re: Facing issue in reflecting URL = ROLE changes dynamically
Date Tue, 11 Oct 2016 14:00:06 GMT
If you are using Spring, you should be able to inject (@Autowire) one or
use @Bean on your create method

Maybe not helpful for you, but here is a guice example:
https://github.com/sonatype/nexus-public/blob/master/components/nexus-security/src/main/java/org/sonatype/nexus/security/WebSecurityModule.java#L73-L80

On Tue, Oct 11, 2016 at 1:59 AM, Hitesh <umaletiya.hitesh@gmail.com> wrote:

> I have tried to understand your approach and worked towards the solution,
> but
> not able to achieve the results.
>
> I have created a subclass as you said and tried to reinitialize
> FilterChainManager, clearing all its filter, but that is not helping.
>
> Could you please tell me how exactly I can return a managed bean, could you
> show me some example.
>
> I am also attaching the class which I created  ShiroFilterBean.java
> <http://shiro-developer.582600.n2.nabble.com/file/
> n7579473/ShiroFilterBean.java>
>
>
>
> --
> View this message in context: http://shiro-developer.582600.
> n2.nabble.com/Facing-issue-in-reflecting-URL-ROLE-changes-
> dynamically-tp7579469p7579473.html
> Sent from the Shiro Developer mailing list archive at Nabble.com.
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message