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
