Sorry about the delayed response. We were shipping last week at my day job.
I think the key here is that, in order for the TypeListeners to see a type, it has to be explicitly bound. So, adding "bind(DefaultWebSessionManager.class);" somewhere in your module should solve both the session timeout and cookie issue. In fact, I have just committed some sample guice code. The class applicable to your situation can be viewed here: http://svn.apache.org/viewvc/shiro/trunk/samples/guice/src/main/java/org/apache/shiro/samples/guice/SampleShiroNativeSessionsServletModule.java On Sat 02 Jun 2012 08:25:57 AM CDT, manitas wrote: > Any idea ? > > Is there an example somewhere using native session with shiro-guice ? > > Thanks in advance. > > -- > View this message in context: > http://shiro-user.582556.n2.nabble.com/Native-session-and-custom-sessionDao-with-guice-tp7575633p7577459.html > Sent from the Shiro User mailing list archive at Nabble.com.
