After some tests,... this configuration worked for me:

securityManager.realms = $ldapRealm
cacheManager = org.apache.shiro.cache.ehcache.EhCacheManager
securityManager.cacheManager = $cacheManager

Was necessary to include the dependency in my project:

                <dependency>
                  <groupId>org.apache.shiro</groupId>
                  <artifactId>shiro-ehcache</artifactId>
                  <version>1.1.0</version>
                  <scope>compile</scope>
                </dependency>

and import the jars of EhCache into the lib directory of Jboss.

--
View this message in context: 
http://shiro-user.582556.n2.nabble.com/Cache-configuration-tp6836253p6841209.html
Sent from the Shiro User mailing list archive at Nabble.com.

Reply via email to