it might need to be redirected to some url in some table simply when getting response but that will be hardcoded in the table though. Lava Kafle
On Thu, Nov 3, 2011 at 4:46 PM, Francisco González-Blanch <[email protected]>wrote: > Hi Everyone, > > > I would want to customize the CAS theme depending on the subdomain the > client is trying to access. For example: > > http://user1.myservice.com has a different cas login page than > http://user2.myservice.com > > But since my service is a java application and the web.xml is configured > this way: > > <filter> > <filter-name>CAS Authentication Filter</filter-name> > > <filter-class>org.jasig.cas.client.authentication.Saml11AuthenticationFilter</filter-class> > <init-param> > <param-name>casServerLoginUrl</param-name> > <param-value>https://cas.myservice.com/cas/login</param-value> > </init-param> > <init-param> > <param-name>serverName</param-name> > <param-value>http://myservice.com/</param-value> > </init-param> > <init-param> > <param-name>renew</param-name> > <param-value>false</param-value> > </init-param> > </filter> > > The target URL received in the login page is http://myservice.com/instead of > http://user1.myservice.com. > > Is there any way to set the server name for dynamic subdomains ( something > like http://*.myservice.com/) and if it is not possible , how do you > think is the best way to get the original URL in the login page? > > Thanks a lot in advance. Cheers, > > > Francisco > > > -- > Francisco González-Blanch Rodríguez > Grupo Madiva > Tlf.: +34 913 00 10 44 > [email protected] > www.madiva.com > > Perfil en [image: LinkedIn] <http://es.linkedin.com/in/fgblanch/> > > -- > 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-dev > > -- 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-dev
