You should not set the renew parameter if you don't need it.  CAS will
process any value as setting "renew".  This is according to the CAS protocol
specification.

-Scott

On 6/22/07, Ilaria Imperiali <[EMAIL PROTECTED]> wrote:

Hello,
I have the same problem as in this old thread :
http://tp.its.yale.edu/pipermail/cas/2007-March/004591.html

I have two php applications ( moodle and oscommerce) with phpcas on apache
2.2 (ssl disabled),
one java application on tomcat 5.5 (liferay) ( ssl disabled),
and the cas server on another tomcat 5.5 with SSL.
Java SDK 5

When I login in any of them its ok, but when I swicth to another app. I'm
not logged in.

My browsers (ie , firefox)  are allowed to accept cookies.
I have even added in my web.xml in my java casclient
            renew=false
just to be sure.
 Its still not working...
I have looked in my phpcas for that same param, renew, but i haven't found
it.
Am i guessing right that the default is renew=false?

my  web.xml :

      <filter>
                <filter-name>CAS Filter</filter-name>
                <filter-class>com.liferay.filters.sso.cas.CASFilter
</filter-class>
                <init-param>
                        <param-name>logout_url</param-name>
                        <param-value>
https://localhost:8443/cas-web/logout</param-value>
                </init-param>
                <init-param>
                        <param-name>
edu.yale.its.tp.cas.client.filter.loginUrl</param-name>
                        <param-value>https://localhost:8443/cas-web/login
</param-value>
                </init-param>
                <init-param>
                        <param-name>
edu.yale.its.tp.cas.client.filter.validateUrl</param-name>
                        
<param-value>https://localhost:8443/cas-web/proxyValidate
</param-value>
                </init-param>
                <init-param>
                        <param-name>
edu.yale.its.tp.cas.client.filter.serviceUrl </param-name>
                        <param-value>http://localhost/c/portal/login
</param-value>
                        <!--param-name>
edu.yale.its.tp.cas.client.filter.serverName </param-name>
                        <param-value>localhost</param-value-->
                </init-param>
                <init-param>
                        <param-name>
edu.yale.its.tp.cas.client.filter.renew </param-name>
                        <param-value>false</param-value>
                </init-param>
        </filter>

 and my server.xml in tomcat with cas server:
    <!-- Define a SSL HTTP/1.1 Connector on port 8443 -->
    <Connector port="8443" maxHttpHeaderSize="8192"
               maxThreads="150" minSpareThreads="25" maxSpareThreads="75"
               enableLookups="false" disableUploadTimeout="true"
               acceptCount="100" scheme="https" secure="true"
               clientAuth="false" sslProtocol="TLS" />


What am I doing wrong?

thanks ,
Ilaria


_______________________________________________
Yale CAS mailing list
[email protected]
http://tp.its.yale.edu/mailman/listinfo/cas




--
-Scott Battaglia

LinkedIn: http://www.linkedin.com/in/scottbattaglia
_______________________________________________
Yale CAS mailing list
[email protected]
http://tp.its.yale.edu/mailman/listinfo/cas

Reply via email to