Hello Misagh, You are right, the ThemeChangeInterceptor is exactly what we are looking for (the parameter name is good too :-).
Thank you very much for your help, 2013/8/14 Misagh Moayyed <[email protected]>: > Spring should already provide this, I believe. Have you looked at > ThemeChangeInterceptor? > > http://static.springsource.org/spring/docs/2.5.x/reference/mvc.html#mvc-themeresolver > > >> -----Original Message----- >> From: mremond [mailto:[email protected]] >> Sent: Thursday, August 8, 2013 6:30 AM >> To: [email protected] >> Subject: [cas-dev] Select CAS Theme >> >> Hello, >> >> Today in a CAS server, we can have different themes depending on the >> requested service by using the ServiceThemeResolver. >> >> Several CAS clients of mine want to choose the login page theme for their >> service. The use case is for example having an application with different >> zones and accessing to each zone must display a different login page. >> However it is the same application and we think we should not declare 2 or >> 3 >> services for one app as we currently have more than 200 connected apps. >> >> One simple solution would be to add an HTTP parameter "theme" to the CAS >> login url allowing us to override the configured theme associated to the >> requested service. If "theme" parameter is missing or incorrect (no >> corresponding theme can be found), we fallback to the configured theme. >> >> What do you think about this enhancement request ? >> >> Thank you for your attention, >> >> Michaël >> -- >> 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 -- 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
