I was told by others in EMC that this method of ${variable} substitution for a 
system property doesn't work anymore in JBOSS 7.  I did not verify this first 
hand and I don't know much about JBOSS so take that with a grain of salt.



David Ohsie

Software Architect

EMC Corporation





From: Curtis Ruck [mailto:[email protected]]
Sent: Tuesday, March 12, 2013 11:37 PM
To: [email protected]
Subject: Re: [cas-user] cas client properties



In my environment (JBoss) we use system properties to populate ${variable} 
syntax in web.xml's.  I don't believe this is supported in tomcat though. 
I've always found this a painful part of cas-client configuration.  I believe 
the cas-client spring integration can do this inside tomcat though.  You may 
also look at using Tomcat Container Authentication 
(https://wiki.jasig.org/display/CASC/Tomcat+Container+Authentication) as an 
alternative method.





--
Curtis Ruck

Anytime: 210-857-1126



On Tue, Mar 12, 2013 at 7:17 PM, Karl Nielsen <[email protected]> 
wrote:

I was looking at the different methods for configuring the cas client for 
applications. Right now we have the settings hard coded in the web.xml:



<filter>

<filter-name>CAS Auth Filter</filter-name>

<filter-class>org.jasig.cas.client.authentication.AuthenticationFilter</filter-class>

<init-param>

<param-name>casServerLoginUrl</param-name>

<param-value>https://cas.wcfgroup.com:8443/cas/login</param-value>

</init-param>

<init-param>

<param-name>serverName</param-name>

<param-value>https://localhost:8443</param-value>

</init-param>

</filter>



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.



So I guess my question is, how are other people doing this?



Thanks,



~Karl~

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

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to