BTW, I use xml configration.

        <bean id="shirocacheManager"
class="org.apache.shiro.cache.ehcache.EhCacheManager"  scope="singleton" >
                <property name="cacheManagerConfigFile" 
value="classpath:ehcache.xml" />
        </bean>
        
        <bean id="shirosecurityManager"
class="org.apache.shiro.web.mgt.DefaultWebSecurityManager">  
                <property name="realm" ref="myRealm" />  
                <property name="cacheManager" ref="shirocacheManager" />
                
        </bean>

I don't want to use default cache. How to do ?



--
View this message in context: 
http://shiro-user.582556.n2.nabble.com/ehcache-how-to-use-the-specific-cache-tp7579272p7579273.html
Sent from the Shiro User mailing list archive at Nabble.com.

Reply via email to