Ravinder, Lets see about rephrasing this as it is slightly confusing:
1. You want the login page to look different depending on the service that sent the user to CAS for a service ticket 2. You realize CAS supports Spring Web Themes but unaware how to associate them to a referring service If these are true, then you should look into the CAS Service Management feature ( http://www.ja-sig.org/wiki/display/CASUM/Services+Management ) as it allows you to associate themes with registered services along with whitelisting / blacklisting which services can use your CAS server. It determines this by a Ant-annotated URL entered for the registered service. Now this is only good for themes. If you want alternative views, then there is nothing out of the box for that yet. HTH, A- On 8/4/09 8:04 AM, "Ravinder Singh" <[email protected]> wrote: > Currently we are using web applications that use cas. Our next step is to > be able to whitelabel these applications based on the virtualname. Ie that > it presents a different presentation based on what url you access the > application with. And this also applies to the cas. > After studying cas, there seems to be functionality for using themes, that > would allow us to theme the presentation of the login screen. Though one > problem still remains, how does the client tell the server which dns name > is being used in the request? > > By looking into your code, it seems that it supports custom parameters in > the authentication request towards the server. The problem is that these > parameters are pretty static. We need some dynamic parameters so that we > can set a theme name, > > Or better: > > What if that when the serverName and serviceUrl is empty, then the > serviceUrl is deducted from the request.getRequestURL()? > > I have currently modified your code to test the feature and currently it > seems to work fine. But does this sound foolish, or are there some > scenarios it won¹t cover? > > > Regard, > > Ravinder Singh > -- 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
