> How are other people dealing with this? I don't want to build a new war for
> each environment that I have to push to if that is possible. I looked at the
> JNDI method:
> https://wiki.jasig.org/display/CASC/Configuring+the+JA-SIG+CAS+Client+for+Java+using+JNDI
> and if I am not mistaken this approach to using the context was abandoned
> with Tomcat 7.0, but I could be wrong on that.

Unless you're leveraging a centralized JNDI store (e.g. LDAP directory
with a config branch), then I think there's little to be gained from
JNDI-based configuration. I would recommend you consider putting host
or environment-based configuration in a context.xml file, which has
been supported for a long time and is still available for Tomcat 7.x.
The following section provides a good start:

http://tomcat.apache.org/tomcat-7.0-doc/config/context.html#Context_Parameters

M

-- 
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

Reply via email to