I believe the Yale client determines the http/https by checking the request object. The Jasig Client allows you to specify it as part of the serverName. It may be worthwhile upgrading (or seeing why the request object is returning http vs. https).
Cheers -Scott On Thu, Apr 23, 2009 at 8:55 AM, Spruit, Richard <[email protected]>wrote: > We are using an application in Tomcat, behind a CAS-filter. However, the > url to connect to this application is > https://<server>:9443/app/<https://%3cserver%3e:9443/app/> > ... > > > > When I configure the web.xml file of this application, it looks like this: > > > > <filter> > > <filter-name>CAS Filter</filter-name> > > <filter-class>edu.yale.its.tp.cas.client.filter.CASFilter</ > filter-class> > > <init-param> > > <param-name>edu.yale.its.tp.cas.client.filter.loginUrl</param-name> > > <param-value>https://edlwwo41:9443/cas-server-webapp-3.3.1/login</ > param-value> > > </init-param> > > <init-param> > > <param-name>edu.yale.its.tp.cas.client.filter.validateUrl</ > param-name> > > <param-value> > https://edlwwo41:9443/cas-server-webapp-3.3.1/serviceValidate</param-value > > > > </init-param> > > <init-param> > > <param-name>edu.yale.its.tp.cas.client.filter.serverName</param-name > > > > <param-value>edlwwo41:9443</param-value> > > </init-param> > > </filter> > > <filter-mapping> > > <filter-name>CAS Filter</filter-name> > > <url-pattern>/*</url-pattern> > > </filter-mapping> > > > > When I now open a browser and go to the url of this application ( > https://edlwwo41:9443), I get redirected to the CAS login screen. After > supplying username/password, I get redirected back to > http://edlwwo41:9443instead of > https://edlwwo41:9443. Including ‘https://’ in the servername (like < > param-value>https://edlwwo41:9443</param-value<https://edlwwo41:9443%3c/param-value>>) > leads to a redirect to > http://https://edlwwo41:9443/app<http://https:/edlwwo41:9443/app> > ). > > > > A bit of background: the edlwwo41 is the webserver where Apache httpd > supplies a reverse proxy. > > > > How should I configure this application so that I can use the url > https://edlwwo41:9443/app as the (secured) application url? > > > > Thanks in advance, > > > > Richard > > > > Please help Logica to respect the environment by not printing this email / > Pour contribuer comme Logica au respect de l'environnement, merci de ne pas > imprimer ce mail / Bitte drucken Sie diese Nachricht nicht aus und helfen > Sie so Logica dabei die Umwelt zu schuetzen / Por favor ajude a Logica a > respeitar o ambiente não imprimindo este correio electrónico. This e-mail > and any attachment is for authorised use by the intended recipient(s) only. > It may contain proprietary material, confidential information and/or be > subject to legal privilege. It should not be copied, disclosed to, retained > or used by, any other party. If you are not an intended recipient then > please promptly delete this e-mail and any attachment and all copies and > inform the sender. Thank you. > > -- > 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
