I don't know if this is posible. I never needed that, my dynamic
permissions are in a database so I can fetch them.
Can you detail your configuration and your use case so others can help?

2014-07-03 17:53 GMT-05:00 Marc Logemann <[email protected]>:
> Hi,
>
> using Shiro for some years now but currently facing an issue i cant solve. I
> want to get back all permissions. Looking at the API, i ve found a
> getAuthorizationInfo() method. Unfortunately its protected so that i cant
> call it from my service class where i injected my custom realm.
>
> I am also quite sure that injecting a realm is not a very nice way doing
> things. But SecurityUtils.getSubject() doesnt get me anywhere in terms of
> getting permissions.
>
> I think if getAuthorizationInfo() would be public, i could simple get a
> SimpleAuthorizationInfo object and everything is nice. Do i miss something
> obvious here?
>
> Thanks for input.
>
> Marc

Reply via email to