This has probably been asked a thousand times before but I can't spot
an answer in the archives that's what I'm after.
At this stage I'm just trying to get a sample app running using Tomcat
and the trusty HelloWorldExample servlet.
Can anyone tell my what's wrong with this config:
------
<!-- CAS Client Authentication Filters - used for testing CAS
implementation -->
<filter>
<filter-name>CAS Authentication Filter</filter-name>
<filter-class>org.jasig.cas.client.authentication.AuthenticationFilter</filter-class>
<init-param>
<param-name>casServerLoginUrl</param-name>
<param-value>https://myhost:8443/cas/login</param-value>
</init-param>
<init-param>
<param-name>serverName</param-name>
<param-value>https://myhost:8443</param-value>
</init-param>
<init-param>
<param-name>service</param-name>
<param-value>https://myhost:8443/servlets-examples/servlet/HelloWorldExample</param-value>
</init-param>
</filter>
<filter>
<filter-name>CAS Validation Filter</filter-name>
<filter-class>org.jasig.cas.client.validation.Cas10TicketValidationFilter</filter-class>
<init-param>
<param-name>casUrlServerPrefix</param-name>
<param-value>https://myhost:8443/cas</param-value>
</init-param>
<init-param>
<param-name>serverName</param-name>
<param-value>https://myhost:8443</param-value>
</init-param>
</filter>
<filter-mapping>
<filter-name>CAS Authentication Filter</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>
<filter-mapping>
<filter-name>CAS Validation Filter</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>
------
Originally it wasn't forwarding on to the HelloWorld servlet, just
saying congrats you're logged in. Then I fiddled with the service
value, and now I get an exception saying the CAS server didn't give a
response after I log in.
Can someone help me get this going? I'll have trickier issues later,
right now I just need to get the sample working in a hurry.
Thanks in advance for any help.
Mike
_______________________________________________
Yale CAS mailing list
[email protected]
http://tp.its.yale.edu/mailman/listinfo/cas