Great ! Thanks for your quick answer.
Now I face another problem :
I override the bindSessionManager method like you wrote to use native
sessions and add the following lines in my configureShiroWeb method
bindConstant().annotatedWith(Names.named("shiro.globalSessionTimeout")).to(5000L);
bindConstant().annotatedWith(Names.named("shiro.sessionIdCookieEnabled")).to(true);
bindConstant().annotatedWith(Names.named("shiro.sessionIdCookie.name")).to("mycookie");
Unfortunately, the cookie name is still jsessionid and sessions last more
than 5 seconds...
Am i missing something ?
--
View this message in context:
http://shiro-user.582556.n2.nabble.com/Native-session-and-custom-sessionDao-with-guice-tp7575633p7575796.html
Sent from the Shiro User mailing list archive at Nabble.com.