You can change it in security.xml by setting the validity time on the
rememberMeService:

<bean id="rememberMeServices"
class="org.acegisecurity.ui.rememberme.TokenBasedRememberMeServices">
<property name="userDetailsService" ref="userDao"/>
<property name="key" value="appfuseRocks"/>
<property name="parameter" value="rememberMe"/>
*<property name="tokenValiditySeconds" value="xx"/>*
</bean>

Where you replace xx with the time, in seconds, you want the token to remain
valid.

Mike

2008/4/23 jithesh <[EMAIL PROTECTED]>:

>
> Hi Guys,
>
>          I am using Acegi remember me option in my web application. I am
> using Appfuse 1.9.4 . I would like to set the cookie max age to say 60
> days.
> Is it possible to do so, then How? I found that by default its validity
> expires for 14 day time.
>
>    Any idea on this..
>
> Regards,
> jithesh
> --
> View this message in context:
> http://www.nabble.com/Remember-me-cookie-time-change-tp16833366s2369p16833366.html
> Sent from the AppFuse - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

Reply via email to