Newbie Q
Scott Battaglia
scott.battaglia at gmail.com
Sat Apr 26 21:38:45 EDT 2008
I don't see why it wouldn't give a response unless there's a problem in the
CAS 1.0 validation filter. Can you try using the 2.0 one? If that doesn't
work then there may be something misconfigured with regards to the CAS
urls. If it does work, then it may just be a bug in the 1.0 filter.
-Scott
On Sat, Apr 26, 2008 at 12:49 AM, Mike Watson <michael.f.watson at gmail.com>
wrote:
> 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
> cas at tp.its.yale.edu
> http://tp.its.yale.edu/mailman/listinfo/cas
>
--
-Scott Battaglia
PGP Public Key Id: 0x383733AA
LinkedIn: http://www.linkedin.com/in/scottbattaglia
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://tp.its.yale.edu/pipermail/cas/attachments/20080426/8cd0fda7/attachment.html
More information about the cas
mailing list