Hi,

Thanks for the reply.

I need to instantiate the realms I extended and I believe I can't do this,
for example using a shiro.ini file (I need to pass several arguments among
other calls). How can I instantiate a new shiro environment on a web project
without a shiro.ini file?

--
Rui

On Tue, Aug 2, 2011 at 6:59 PM, Les Hazlewood <[email protected]> wrote:

> Hi Rui,
>
> If your only goal is to share sessions across applications, the
> easiest thing to do is configure a SessionDAO that 'points' to a
> session data store that is shared by your applications.
>
> This way, each application has its own Shiro environment
> (SecurityManager, filters, etc), which is usually easiest to manage.
> If you use a shared and/or distributed cache (e.g. Ehcache), then each
> application can access the same session store.
>
> Does this help?
>
> Regards,
>
> --
> Les Hazlewood
> CTO, Katasoft | http://www.katasoft.com | 888.391.5282
> twitter: @lhazlewood / http://twitter.com/lhazlewood
> katasoft blog: http://www.katasoft.com/blogs/lhazlewood
> personal blog: http://leshazlewood.com
>

Reply via email to