A realm implementation should work the same in a unit tests as in a webapp.

You just need to update whatever is backing your realm (LDAP, DB, config
file, hash in memory, etc).  Depending on how your application and realms
are configure you may need to flush caches after doing this (or user
re-login, depending on your requirements)


On Tue, Sep 22, 2015 at 5:25 AM, vemu <[email protected]> wrote:

> Thanks Tamas,
>                      I wanted to look at more in terms of a sample web
> application. The one you have is more sort of in Junit.
> Rgds,
> Vemu.
>
>
>
> --
> View this message in context:
> http://shiro-user.582556.n2.nabble.com/How-to-implement-Dynamic-roles-and-permissions-in-apache-shiro-tp7580743p7580782.html
> Sent from the Shiro User mailing list archive at Nabble.com.
>

Reply via email to