Hi All,
It seems I disordered the previous post 'Guaranteeing Ticket Uniqueness in
CAS 3.2.x'.
My question is do we need to do configuration for guaranteeing ticket
uniqueness in CAS 3.2.x.
I have checked code and tried it, the value of $host.name in
uniqueIdGenerators.xml is from cas/WEB-INF/cas.properties. That means we
need to config cas.properties (or other place holder properties file) for
Clustering solution for guaranteeing ticket uniqueness (even for CAS3.2.x).
Default config file: cas/WEB-INF/cas.properties (host.name=cas)
You can config it using out of box properties file (host.properties with
host.name=***) using in applicationContext.xml:
<bean id="placeholderConfig"
class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
<property name="locations">
<list>
<value>/WEB-INF/cas.properties</value>
<value>file:/apps/local/share/etc/host.properties</value>
</list>
</property>
</bean>
Thanks,
Qingfeng Zhang
--
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