On 2013-08-07 at 15:49, Aaron Bennett wrote:
Thanks Jesse --
I have the cas.properties as well. Did you just drop that right into
ticketRegistry.xml? Here's my complete ticketRegistry.xml for comparison:
That similar to what I have, but not the same:
<?xml version="1.0" encoding="UTF-8"?>
<!--
Licensed to Jasig under one or more contributor license
agreements. See the NOTICE file distributed with this work
for additional information regarding copyright ownership.
Jasig licenses this file to you under the Apache License,
Version 2.0 (the "License"); you may not use this file
except in compliance with the License. You may obtain a
copy of the License at the following location:
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
<bean id="ticketRegistry"
class="org.jasig.cas.ticket.registry.MemCacheTicketRegistry">
<constructor-arg index="0" ref="memcachedClient" />
<!-- TGT timeout in seconds -->
<constructor-arg index="1" value="${expiration.policy.tgt.validity_period}" />
<!-- ST timeout in seconds -->
<constructor-arg index="2" value="${expiration.policy.st.validity_period}" />
</bean>
<!--
NOTE: Changing the transcoder implementation is not required, but Kryo
provides for more
efficient serialization which significantly improves throughput and storage
footprint.
See http://code.google.com/p/spymemcached/wiki/SpringIntegration for more
info on options
for various property values.
-->
<bean id="memcachedClient"
class="net.spy.memcached.spring.MemcachedClientFactoryBean"
p:servers="${memcached.servers}"
p:protocol="${memcached.protocol}"
p:locatorType="${memcached.locatorType}"
p:failureMode="${memcached.failureMode}"
p:transcoder-ref="kryoTranscoder">
<property name="hashAlg">
<util:constant
static-field="net.spy.memcached.DefaultHashAlgorithm.${memcached.hashAlgorithm}" />
</property>
</bean>
<bean id="kryoTranscoder"
class="org.jasig.cas.ticket.registry.support.kryo.KryoTranscoder"
init-method="initialize">
<!-- initialBufferSize -->
<constructor-arg index="0" value="8192" />
</bean>
There also seem to be some odd whitespace characters in your
ticketRegistry.xml, but that's probably just an email character set issue.
--
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