Try adding a "bind(DefaultWebSessionManager.class);" to your module.
On Tue 17 Jul 2012 08:25:48 AM CDT, Thilo-Alexander Ginkel wrote:
> Hi there,
>
> I've got another problem configuring some aspect of Shiro via
> shiro-guice: EnterpriseCacheSessionDAO
>
> I have
>
> bind(SessionDAO.class).to(EnterpriseCacheSessionDAO.class).asEagerSingleton();
> in my ShiroWebModule, but this does not seem to have any effect.
>
> Which magic do I have to apply to attach the EnterpriseCacheSessionDAO
> to my DefaultWebSessionManager, which I bind via:
>
> protected void
> bindSessionManager(AnnotatedBindingBuilder<SessionManager> bind) {
> bind.to(DefaultWebSessionManager.class).asEagerSingleton();
> }
>
> ?
>
> Thanks,
> Thilo