On Tue, Jul 21, 2009 at 3:47 PM, Bryan Wooten <[email protected]> wrote:
> That fixed it! > > > > Sorry for assuming the 2 clients used the same filter definitions. > No problem. Its not clear unless you have the link to the documentation ;-) > > > Regards, > > > > Bryan > > > > *From:* Scott Battaglia [mailto:[email protected]] > *Sent:* Tuesday, July 21, 2009 1:07 PM > > *To:* [email protected] > *Subject:* Re: [cas-user] CASAuthenticationException > > > > You'll probably need to follow the instructions for the Jasig CAS Client > not the Yale CAS client if you switch: > > > http://www.ja-sig.org/wiki/display/CASC/Configuring+the+JA-SIG+CAS+Client+for+Java+in+the+web.xml > > There are other configuration options also. > > Cheers, > Scott > > On Tue, Jul 21, 2009 at 3:01 PM, Bryan Wooten <[email protected]> > wrote: > > Ok, > > > > I download cas-client.3.1.6.zip built it using “mvn clean package install > -Dmaven.test.skip=true” > > > > I added cas-client-core-3.1.6.jar to my web application (removed the > casclient-2.1.1.jar from the build) and now my app won’t load. > > > > I thought CASifying an application was a simple as including a jar file and > setting up the filter in the web.xml. > > > > I feel kind of dumb. > > > > Thanks! > > > > > > *From:* Andrew Feller [mailto:[email protected]] > *Sent:* Tuesday, July 21, 2009 12:02 PM > *To:* [email protected] > *Subject:* Re: [cas-user] CASAuthenticationException > > > > You might upgrade from using the unsupported Yale CAS client to use the > JASIG CAS Client for Java... > > Oh, your URL has double “.edu”, which might be a mistake from protecting > the URL. I also noticed that you don’t specify the webapp, so I assume you > deployed CAS as ROOT on the server rather than deploying it as the “cas” > webapp. > > > On 7/21/09 12:52 PM, "Bryan Wooten" <[email protected]> wrote: > > > > I have a simple CASifyed application that fails when I submit valid user > name / password. I get a 500 error: > > Any ideas? I am using casclient-2.1.1.jar. Web.xml filter definition at > bottom. > > Thanks, > > Bryan > > type Exception report > > message > > descriptionThe server encountered an internal error () that prevented it > from fulfilling this request. > > exception > > javax.servlet.ServletException: > edu.yale.its.tp.cas.client.CASAuthenticationException: Unable to validate > ProxyTicketValidator [[edu.yale.its.tp.cas.client.ProxyTicketValidator > proxyList=[null] [edu.yale.its.tp.cas.client.ServiceTicketValidator > casValidateUrl=[https://my.server.edu/serviceValidate] > ticket=[ST-38661-ICAlx3aL3Yg1COiwHu7w-cas] > service=[https%3A%2F%2Fguide%3A9932%2Fcasringtest] renew=false]]] > > root cause > > edu.yale.its.tp.cas.client.CASAuthenticationException: Unable to validate > ProxyTicketValidator [[edu.yale.its.tp.cas.client.ProxyTicketValidator > proxyList=[null] [edu.yale.its.tp.cas.client.ServiceTicketValidator > casValidateUrl=[https://my.server.edu/serviceValidate] > ticket=[ST-38661-ICAlx3aL3Yg1COiwHu7w-cas] > service=[https%3A%2F%2Fguide%3A9932%2Fcasringtest] renew=false]]] > > root cause > > java.io.FileNotFoundException: > https://my.server.edu.edu/serviceValidate?service=https%3A%2F%2Fguide%3A9932%2Fcasringtest&ticket=ST-38661-ICAlx3aL3Yg1COiwHu7w-cas > > note The full stack traces of the exception and its root causes are > available in the Sun Java System Application Server 9.1_02 logs. > > > Here is my filter definition: > > <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://my.server.edu/cas/login</param-value><https://my.server.edu/cas/login%3c/param-value%3e> > </init-param> > <init-param> > > > <param-name>edu.yale.its.tp.cas.client.filter.validateUrl</param-name> > <param-value> > https://my.server.edu/serviceValidate</param-value><https://my.server.edu/serviceValidate%3c/param-value%3e> > </init-param> > <init-param> > > > <param-name>edu.yale.its.tp.cas.client.filter.serviceUrl</param-name> > > <param-value>https://server:port/casringtest</param-value><https://server:port/casringtest%3c/param-value%3e> > </init-param> > </filter> > <filter-mapping> > <filter-name>CAS Filter</filter-name> > <url-pattern>/*</url-pattern> > > > > -- > Andrew Feller, Business System Programmer > LSU University Information Services > 200 Frey Computing Services Center > Baton Rouge, LA 70803 > Office: 225.578.3737 > Fax: 225.578.6400 > > -- > > 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 > > -- 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
