There's also a Spring configuration option, but that doesn't seem like it would work for you guys.
Cheers, Scott On Thu, Jun 10, 2010 at 1:18 PM, Scott Battaglia <[email protected]>wrote: > Your annoyed developers could just use the JNDI configuration: > > https://wiki.jasig.org/display/CASC/Configuring+the+JA-SIG+CAS+Client+for+Java+using+JNDI > > The example references the META-INF/context.xml but the JNDI properties can > be defined outside of the WAR also. > > > > On Thu, Jun 10, 2010 at 12:54 PM, Bryan Wooten <[email protected]>wrote: > >> Hi all, >> >> >> >> When defining the CAS filter configuration there are entries like this in >> the web.xml file: >> >> >> >> init-param> >> >> <param-name>serverName</param-name> >> >> <param-value>https://dev.utah.edu</param-value> >> >> </init-param> >> >> >> >> This annoys some of our developers because it means they must rebuild the >> application if they want to change the param-value to “test.utah.edu” or >> “prod.utah.edu”. >> >> >> >> We would like to be able to read these values from a properties file or >> system property and have the CAS filter use those files in its filter init. >> >> >> >> Does anyone know a way to use EL (expression language) to inject values >> into the web.xml file (or another way)? I know it could be down with Spring >> using configurators, but most our apps are JSF based. >> >> >> >> Any advice or suggestions would be appreciated. >> >> >> >> Thanks, >> >> >> >> Bryan Wooten >> >> >> >> UIT Systems Administrator >> >> University of Utah >> >> >> >> [email protected] >> >> >> >> >> >> -- >> 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 >> >> > -- 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
