So, the guice integration does bind to multiple levels. So what you
would want to do for shiro.sessionIdCookie.name is something like:
bind(Cookie.class).toInstance(new SimpleCookie("myCookie");
I would expect sessionIdCookieEnabled to work. As for the
globalSessionTimeout, what class is that set on? (I typically use
container sessions, so haven't had a need for this.)
-Jared
On Fri 25 May 2012 10:04:37 AM CDT, manitas wrote:
> FYI the following lines work
>
> bindConstant().annotatedWith(Names.named("shiro.loginUrl")).to("/login.jsp");
> bindConstant().annotatedWith(Names.named("shiro.logoutUrl")).to("/logout.jsp");
>
> but I'm still unable to make the previous lines worked.
>
> is "shiro.sessionIdCookie.name" a correct property for binding ?
>
> Thanks for your help.
>
> --
> View this message in context:
> http://shiro-user.582556.n2.nabble.com/Native-session-and-custom-sessionDao-with-guice-tp7575633p7576652.html
> Sent from the Shiro User mailing list archive at Nabble.com.