We gave you the link to the cas.properties file that defines all of the properties available. You choose to create a blank slate (on purpose). I'm not sure what you're looking for.
We also told you how to configure Spring to leverage the provided cas.properties and override selective properties. What else are you exactly looking for? You've got all of the tools to configure this and seem to be needlessly complicating your solution. On Fri, Jun 13, 2014 at 10:30 AM, Zac Harvey <[email protected]> wrote: > Any thoughts here? If CAS 4.0 docs are currently missing the > minimally-viable cas.properties that CAS required, I would be happy to > contribute to the documentation and add an article in explaining how > properties work... but I need to understand them first! > > > > *From:* Zac Harvey > *Sent:* Friday, June 13, 2014 9:07 AM > *To:* '[email protected]' > *Subject:* RE: [cas-user] CAS: Please confirm cas.properties behavior > > > > Thanks Scott, > > > > So can you (or anyone else) confirm that my suspicions about default > cas.properties behavior is correct? Also, Scott, is the cas.properties link > you reference below simply the minimal props I need to define inside my > cas.properties file? > > > > *From:* Scott Battaglia [mailto:[email protected] > <[email protected]>] > *Sent:* Friday, June 13, 2014 8:02 AM > *To:* [email protected] > *Subject:* Re: [cas-user] CAS: Please confirm cas.properties behavior > > > > > https://github.com/Jasig/cas/blob/master/cas-server-webapp/src/main/webapp/WEB-INF/cas.properties > > > > On Fri, Jun 13, 2014 at 7:15 AM, Zac Harvey <[email protected]> > wrote: > > I’m seeing some behavior that **appears** to be default CAS behavior, > but it’s just not working like I expected and it has me stumped. > > > > If I create a brand new project directory, and only stick a pom.xml in it > (hence using 100% CAS defaults, no overrides or customizations whatsoever) > and run “mvn clean package”, I get a cas.war that deploys to Tomcat just > fine (using CAS 4.0.0 and Tomcat 7). > > > > But then I go ahead and add a > src/main/webapp/WEB-INF/spring-configuration/propertyFileConfigurer.xml > file, that has the following contents: > > > > <bean id=”propertyPlaceholderConfigurer” > class=”org.springframework.beans.factory.config.PropertyPlaceholderConfigurer”> > > <property name=”ignoreResourceNotFound” > value=”true” /> > > <property name=”locations”> > > <list> > > > <value>file:/home/myuser/cas.properties</value> > > </list> > > </property> > > </bean> > > > > And, just to see what happens, I intentionally **do not** put a > cas.properties file under /home/myuser. Now when I run “mvn clean package” > and deploy the cas.war to Tomcat, I get all sorts of exceptions in the > Tomcat log, complaining about there not being a host.name property > specified (which is true since I don’t have a /home/myuser/cas.properties > file). > > > > I **expected** CAS to look for /home/myuser/cas.properties and, if it > can’t be found, to use the same defaults that were applied before I added a > propertyFileConfigurer.xml file. Instead, it looks like CAS looks for > /home/myuser/cas.properties, and if it can’t be found, just gives up and > doesn’t try to apply any defaults at all. > > > > Is this normal CAS behavior? If so, what are all the other properties > (besides host.name) that I need to provide CAS with, and where is this > documented? > > -- > > 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 > > -- > 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
