Zac, Take a look at the way Unicon does it here: https://github.com/Unicon/unicon-cas-overlay
The cas.properties has several attributes, including the log file properties. You can then add additional properties to the cas.properties file as you add additional plugins/addons. This is the build I started with, and adding additional plugins is *mostly* painless. The views, I think, are specified under /WEB-INF/classes/default_views.properties file. Mike On Thu, Jun 5, 2014 at 12:55 PM, Zac Harvey <[email protected]> wrote: > Our CAS server has 4 environments: dev, test, demo and live. I need to > be able to specify slightly different settings/configs for CAS depending on > what environment its running in. > > > > The two files where this type of “environment var injection” is needed are: > > > > > src/main/resources/log4j.xml > > > src/main/webapp/WEB-INF/view/jsp/myorg/login.jsp --> our custom login > page > > > > For the former (log4j), I need to tune log level differently across > environments. For instance, I want DEBUG-level logging on dev, but perhaps > only WARN or ERROR-level logging on live. > > > > For the latter I need to display slightly different HTML depending on what > environment CAS is running in. > > > > I believe I can accomplish both of these, somehow, but including a > spring-configuration/propertyFileConfigurer.xml file that tells CAS to look > at, say, /opt/cas/cas.properties for its properties. That way, I can have > a different props file on each environment’s app server. I’m just not sure > what properties to include inside cas.properties to accomplish what I > need. I’m also not even sure if cas.properties is the right solution for > these 2 issues. Any ideas? Thanks in advance! > > -- > 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 > > -- *Michael Seiler* -------------------------------------------------- Systems Integration Engineer Fuller Theological Seminary Phone: (970) 306-6105 [email protected] *Please NOTE:* I respond to email at 8 AM, 1PM, and at 4:30PM. If you need more immediate help, please contact TSS (626.584.5675) and they can route the issue to the appropriate person. If this is a business process life or death emergency, you may call me at the above number. -- 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
