Scott -

Do you know of any guides on CAS implementation in Bedework or know of anyone 
who has successfully implemented?

Thanks,
John

From: Scott Battaglia [mailto:[email protected]]
Sent: Tuesday, June 08, 2010 9:47 PM
To: [email protected]
Subject: Re: [cas-user] Service URL mangling

I'm also confused because your web app is webadmin but the service url is 
caladmin?

On Tue, Jun 8, 2010 at 3:23 PM, Simone, John 
<[email protected]<mailto:[email protected]>> wrote:
Scott -

Yes, I'm equally perplexed.  But I could be dropping the filters in the wrong 
place on the client side (???) ...

/usr/local/bedework/bedework/projects/webapps/webadmin/war/WEB-INF/web.xml


From: Scott Battaglia 
[mailto:[email protected]<mailto:[email protected]>]
Sent: Tuesday, June 08, 2010 2:57 PM
To: [email protected]<mailto:[email protected]>
Subject: Re: [cas-user] Service URL mangling

You have two "/"s in the supplied service:
http://calendar.centenarycollege.edu//caladmin/<http://calendar.centenarycollege.edu/caladmin/>'.

Not sure how you got that since the service url and serverName don't match what 
you've passed to CAS.  The port isn't included in either.


On Tue, Jun 8, 2010 at 2:42 PM, Simone, John 
<[email protected]<mailto:[email protected]>> wrote:
Are there any known service URL mangling issues with CAS v. 3.3.2?

I am receiving the error:

javax.servlet.ServletException: 
org.jasig.cas.client.validation.TicketValidationException:
               ticket 'ST-1-0eWBuDJCT2oDlCJfY0iL-cas' does not match supplied 
service.  The original service was 
'http://calendar.centenarycollege.edu/caladmin/' and the supplied service was 
'http://calendar.centenarycollege.edu//caladmin/<http://calendar.centenarycollege.edu/caladmin/>'.

My client filter config:

<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://login.centenarycollege.edu/cas/login</param-value>
 </init-param>
 <init-param>
   <param-name>service</param-name>
   <param-value>http://calendar.centenarycollege.edu:8080/caladmin</param-value>
 </init-param>
 <init-param>
   <param-name>serverName</param-name>
   <param-value>http://calendar.centenarycollege.edu:8080</param-value>
 </init-param>
 <init-param>
   <param-name>renew</param-name>
   <param-value>false</param-value>
 </init-param>
 <init-param>
   <param-name>gateway</param-name>
   <param-value>false</param-value>
 </init-param>
</filter>
<filter>
<filter>
 <filter-name>CAS Validation Filter</filter-name>
 
<filter-class>org.jasig.cas.client.validation.Cas20ProxyReceivingTicketValidationFilter</filter-class>
 <init-param>
   <param-name>casServerUrlPrefix</param-name>
   <param-value>https://login.centenarycollege.edu/cas/</param-value>
 </init-param>
 <init-param>
   <param-name>serverName</param-name>
   <param-value>http://calendar.centenarycollege.edu:8080</param-value>
 </init-param>
</filter>

Thanks,

John Simone
Centenary College


--
You are currently subscribed to 
[email protected]<mailto:[email protected]> as: 
[email protected]<mailto:[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]<mailto:[email protected]> as: 
[email protected]<mailto:[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]<mailto:[email protected]> as: 
[email protected]<mailto:[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

Reply via email to