We have a grails web application that has multiple url's mapped to it in
order to provide client branding.
Were are using Spring Security Cas plugin to provide security.  It in turn
has a dependency on the com.springsource.org.jasig.cas.client:3.1.8 jar and
uses the Cas20ServiceTicketValidator.  The ticket validator has a property
called proxyCallbackUrl that I want to be dynamic but currently it is not.

For example, client A accesses the site by https://www.clientA.com and
client B accesses the site by https://www.clientB.com.  I have configured
the CAS server service url's to correspond to these url's.

My question is how can I configure a web app that services multiple url's
and the cas server to meets this need.  I have been thinking that maybe I
could override the Cas20ServiceTicketValidator but haven't been able to find
a way to grab the URL a client is coming in on because I don't have access
to the HTTP request.
I have also been trying to think of a way to make the application
(regardless of the client URL) seem like a single application to the CAS
server.  The downfall of our current design with this last idea is that all
of the branding logic we have implemented is based on the client's url (and
the client URL is a mandate by our business).

Any guidance would be greatly appreciated.

--
View this message in context: 
http://jasig.275507.n4.nabble.com/Multi-url-web-app-and-cas-tp3595528p3595528.html
Sent from the CAS Users mailing list archive at Nabble.com.

-- 
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