Thanks
-Scott
I'm using 3.0.3. I'll update and give it another shot.
From: [EMAIL PROTECTED] [mailto: [EMAIL PROTECTED]] On Behalf Of Scott Battaglia
Sent: Thursday, August 24, 2006 11:29 AM
To: Yale CAS mailing listSubject: Re: JA-SIG CAS Java Client
Chris,
What version of CAS are you using? CAS 3.0.5 and higher properly strip the jsession id if it is sent.
Thanks
-ScottOn 8/24/06, Christopher Brown <[EMAIL PROTECTED]> wrote:
I think I have figured out most of the client, but I'm having one problem. I'm getting this response when the ticket is validated:
javax.servlet.ServletException:
ticket 'ST-8-fwgINaEJ62f03hgUZTH6' does not match supplied service
org.jasig.cas.client.web.filter.CasValidationFilter.doFilterInternal(CasValidationFilter.java:105)
org.jasig.cas.client.web.filter.AbstractCasFilter.doFilter(AbstractCasFilter.java:93)
org.jasig.cas.client.util.FilterToBeanProxy.doFilter(FilterToBeanProxy.java:43)
org.jasig.cas.client.web.filter.CasAuthenticationFilter.doFilterInternal(CasAuthenticationFilter.java:89)
org.jasig.cas.client.web.filter.AbstractCasFilter.doFilter(AbstractCasFilter.java:93)
org.jasig.cas.client.util.FilterToBeanProxy.doFilter(FilterToBeanProxy.java:43)
My hunch is that perhaps the jessionid that gets appended to the serviceURL on the redirect to /cas/login is causing the problem. Here's what gets sent on the initial redirect:
http://eauth.enspier.net:8080/samlharness/ui;jsessionid=DEE8EB1DA9B724D3C878051DA4FB40FA0?action="">
But the serviceURL that gets sent to /cas/serviceValidate is:
http://eauth.enspier.net:8080/samlharness/ui?action=""
Would this cause the exception above? I've edited the bean in the config file, but the jsessionid still is appended to the URL.
<bean
id="casValidationFilter"
class="org.jasig.cas.client.web.filter.CasValidationFilter">
<constructor-arg index="0">
<null/>
</constructor-arg>
<constructor-arg index="1" value="http://eauth.enspier.net:8080/samlharness/ui?action="" "/>
<constructor-arg index="2" ref="ticketValidator"/>
</bean>
Thanks
-----Original Message-----
From: [EMAIL PROTECTED] [mailto: [EMAIL PROTECTED]] On Behalf Of Christopher Brown
Sent: Tuesday, August 22, 2006 9:22 AM
To: 'Yale CAS mailing list'
Subject: RE: JA-SIG CAS Java Client
Thanks for the quick reply. I've used the Yale client previously, so I have
a little familiarity. Just a couple questions.
-- Are all the jars in the bin directory required to run the client (I'm
using core)?
-- I'm not sure what the simpleFilterExample.xml is used for. Is it
required?
-- I'm sending an extra attribute in the CAS assertion. How do I access it
from the client?
-- What is the purpose of the validation filter?
Thanks,
Chris
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On
Behalf Of Scott Battaglia
Sent: Monday, August 21, 2006 1:12 PM
To: Yale CAS mailing list
Subject: Re: JA-SIG CAS Java Client
Chris,
No, there is not yet. That's one of the things to be done before the
final release (which is one reason why its still in RC). Do you have
any specific questions you'd like answered? I can answer them onlist
and then use that as the basis for the documentation.
Thanks
-Scott
Scott Battaglia
Application Developer, Architecture & Engineering Team
Enterprise Systems and Services, Rutgers University
v: 732.445.0097 | f: 732.445.5493 | [EMAIL PROTECTED]
Christopher Brown wrote:
>
> Is there any documentation for this client besides the examples in the
> resources directory?
>
>
>
> Chris Brown
>
> Enspier Technologies
>
> YIM: chrisbrown_enspier
>
> (O) 202-208-1550
>
> (C) 703-965-1176
>
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Yale CAS mailing list
> http://tp.its.yale.edu/mailman/listinfo/cas
>
_______________________________________________
Yale CAS mailing list
http://tp.its.yale.edu/mailman/listinfo/cas
_______________________________________________
Yale CAS mailing list
_______________________________________________
Yale CAS mailing list
[email protected]
http://tp.its.yale.edu/mailman/listinfo/cas
_______________________________________________
Yale CAS mailing list
[email protected]
http://tp.its.yale.edu/mailman/listinfo/cas
_______________________________________________ Yale CAS mailing list [email protected] http://tp.its.yale.edu/mailman/listinfo/cas
