On Fri, Sep 13, 2013 at 01:16:30PM -0700, Marvin Addison wrote:

> Here's the cache configuration we use for our custom resolver:
> 
>   <bean id="principalCache"
>     class="org.springframework.cache.ehcache.EhCacheFactoryBean"
>     p:cacheName="PrincipalCache"
>     p:eternal="false"
>     p:overflowToDisk="false"
>     p:maxElementsInMemory="100"
>     p:timeToLive="5"
>     p:timeToIdle="5">
>     <property name="cacheManager">
>       <bean 
> class="org.springframework.cache.ehcache.EhCacheManagerFactoryBean"
> />
>     </property>
>   </bean>

Cool, thanks. So to integrate that into the cachingPersonAttributeDao
config, you'd just set the userInfoCache property to "principalCache"?

-- 
Paul B. Henson  |  (909) 979-6361  |  http://www.csupomona.edu/~henson/
Operating Systems and Network Analyst  |  [email protected]
California State Polytechnic University  |  Pomona CA 91768

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