I will respond in lieu of someone more expert, as I'm just getting used to 
things with the rest of the user population.
Here at CSUN we have a requirement to offer the CAS login through both a themed 
page as well as a small login box within the main campus homepage. The look of 
these two areas is completely different.
In my main war overlay I am overlaying the default .jsp files with our versions 
(as opposed to adjusting the theme property and using a different subdir). The 
login page itself has been augmented through JSTL to check/accept a query 
string parameter to the login screen. If this parameter exists, the generated 
page will display to conform to our iframe's size. Otherwise the standard login 
page is displayed. I imagine you can do something similar.

Also for us, there is a need for the logout screen to actually cause the 
browser to hit all of the possible SSO sites that the user has visited and 
allow those respective web servers to send their own cookie clearing headers. 
Again with JSTL I am looking at the referrer to the logout page. The referrer 
then allows the logout page to display the logout URLs on the page as 0 pixel 
images from either our test or production instances. This allows me to deploy 
one basic theme to dev and prod, without having to adjust yet another property 
in the cas.properties file. It also allows us to compensate for the various 
non-prod instances we have with one development CAS server.

I have done nothing of this sort to the interrupt pages we have added, so once 
inside users are presented with (for example) the password near/expired pages 
with one look and feel -- but I imagine that you can use either the domain name 
or referrer within JSTL to adjust the last css file loaded.

I hope this helps, if someone else has a better way of pulling this off, I'm 
all eyes.
-Michael.

From: Karl Nielsen [mailto:[email protected]]
Sent: Monday, March 04, 2013 11:57 AM
To: [email protected]
Subject: Re:[cas-user] Login page based off of service url

In doing some more digging, it seems that this is what the 
https://<cas_server>/services<https://%3ccas_server%3e/services> app is for, 
right? Do I have to go through and create an entire workflow for each page? Can 
this just be done through that interface or do I have to create the flows by 
hand inside the app and deploy it with the war?

~karl~

On Mon, Mar 4, 2013 at 11:42 AM, Karl Nielsen 
<[email protected]<mailto:[email protected]>> wrote:
So I fairly certain that this is built into CAS 3.5 (the version I have up and 
running), but isn't there a way to show a different url based of the of the 
service url that I request? Is there a good write up of how to do this 
somewhere? I keep coming across people just trying to edit the default. I need 
three different login screens (themes) based off of which app is requesting the 
login page.

Please let me know.

Thanks,

~Karl~


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

Reply via email to