Then you're following instructions for an old version of CAS.  I'm not sure
where you got them from.

Try these ones:
http://www.ja-sig.org/wiki/display/CASUM/HOWTO+Configure+Single+Sign+On+Session+Timeout

Cheers,
Scott


On Fri, Jul 10, 2009 at 9:48 AM, Rahul Chaturvedi <[email protected]>wrote:

> Thanks for your quick reply.
> I am using CAS 3.3.1 version.
>
> Regards,
> Rahul
>
> On Fri, Jul 10, 2009 at 7:08 PM, Scott Battaglia <
> [email protected]> wrote:
>
>> If you're using CAS2, I'm not sure how much support you'll find for CAS2
>> these days on this list.  If you're using CAS3, then I don't know where you
>> got that set of parameters from.  That's not the correct way to do it in
>> CAS3.
>>
>> Which version of CAS are you using?
>>
>>
>> On Fri, Jul 10, 2009 at 9:34 AM, Rahul Chaturvedi <[email protected]>wrote:
>>
>>> *Background: *We have CAS and LIferay SSO setup. We have tried setting
>>> 30 mins time out for CAS* *and Liferay.
>>> *
>>> Problem Statement:*  Liferay timeouts after 30 mins but CAS does not. So
>>> a user is not shown the CAS login screen when a user comes after 30 mins of
>>> idle time while liferay shows its time out page perfectly. Why CAS is not
>>> performing timeout correctly? What has been missed and How can this be
>>> achieved ?
>>>
>>> *What we want:* After idle time of 30 mins user should be challenged for
>>> credentials from CAS screen.
>>>
>>> *What has been done:*
>>>
>>> 1) Following has been added into web.xml for CAS
>>> (.....webapps/cas/WEB-INF/web.xml)
>>>
>>> <!-- Timeout for granting tickets | specified in seconds -->
>>>     <context-param>
>>>         <param-name>edu.yale.its.tp.cas.grantingTimeout</param-name>
>>>         <param-value>1800</param-value>
>>>     </context-param>
>>>
>>> 2) Also along with above change following has been done in conf/web.xml
>>> of tomcat where the CAS is deployed.
>>>
>>> <!-- You can set the default session timeout (in minutes) for all newly
>>> -->
>>> <!-- created sessions by modifying the value below. | specified in
>>> minutes -->
>>> <session-config>
>>>  <session-timeout>30</session-timeout>
>>> </session-config>
>>>
>>>
>>>
>>> When aforementioned didn't work we tried setting service and login
>>> timeouts to 30 mins by following snippet in the web.xml for CAS.
>>>
>>>     <!-- Timout for service tickets -->
>>>     <context-param>
>>>         <param-name>edu.yale.its.tp.cas.serviceTimeout</param-name>
>>>         <param-value>1800</param-value>
>>>     </context-param>
>>>
>>>     <!-- Timeout for login tickets (since 2.0.12) -->
>>>     <context-param>
>>>         <param-name>edu.yale.its.tp.cas.loginTimeout</param-name>
>>>         <param-value>1800</param-value>
>>>     </context-param>
>>>
>>> *But to no avail.
>>> Please advise.
>>> *
>>> Regards,
>>> Rahul
>>>
>>>
>>> --
>>> 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
>>
>>
> --
> 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