as stated in wiki I have

<bean id="grantingTicketExpirationPolicy" 
class="org.jasig.cas.ticket.support.RememberMeDelegatingExpirationPolicy">
   <property name="sessionExpirationPolicy">
    <bean class="org.jasig.cas.ticket.support.TimeoutExpirationPolicy">
           <constructor-arg index="0" value="604800" />
    </bean>
   </property>
   <property name="rememberMeExpirationPolicy">
    <bean class="org.jasig.cas.ticket.support.TimeoutExpirationPolicy">
           <constructor-arg index="0" value="604800" />
    </bean>
   </property>
</bean>
and
    <bean id="ticketGrantingTicketCookieGenerator" 
class="org.jasig.cas.web.support.CookieRetrievingCookieGenerator"
        p:cookieSecure="true"
        p:cookieMaxAge="-1"
        p:cookieName="CASTGC"
        p:cookiePath="/cas"
        p:rememberMeMaxAge="604800"
        p:cookieDomain="feedback.eu.org" />

I use the default ticket registry to be able to connect using terracotta...

does it look good ?

regards
fred


________________________________
From: Scott Battaglia [[email protected]]
Sent: Monday, August 29, 2011 4:49 PM
To: [email protected]
Subject: Re: [cas-user] mod_auth_cas and remember me

Two comments:
1. Did you set the expiration policy correctly?
2. Did you extend the cookie expiration time?

Those would normally be the two things that control whether you can still 
access the session.


On Mon, Aug 29, 2011 at 10:24 AM, Jacquet, Frederic 
<[email protected]<mailto:[email protected]>> wrote:
dear all

I try to fix a request from my users asking to be able to use the <<remember 
me>> feature on a php site protected using mod_auth_cas.

I have adapt my pom and follow the wiki to setup Remember me but when I tick 
the option on login, use the web site and leave my browser, I restart the 
browser and ... need to relogin :(

so my questions :

  *   is mod_auth_cas compatible with remember me ?
  *   moodle seems to suffer the same :/

I will see later if ADFS and Sharepoint are compatible ( using the Shibboleth 
link )

regards
fred




--
You are currently subscribed to 
[email protected]<mailto:[email protected]> as: 
[email protected]<mailto:[email protected]>


To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/cas-user


--
You are currently subscribed to [email protected] as: 
[email protected]
To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/cas-user

-- 
You are currently subscribed to [email protected] as: 
[email protected]
To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/cas-user

Reply via email to