Skip to content

Commit

Permalink
Set unique Ehcache manager name; fixes #152
Browse files Browse the repository at this point in the history
  • Loading branch information
burtbeckwith committed Jun 4, 2015
1 parent dff59e5 commit 8e2f981
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion SpringSecurityCoreGrailsPlugin.groovy
Expand Up @@ -558,7 +558,9 @@ to default to 'Annotation'; setting value to 'Annotation'
cacheManager = ref('cacheManager')
cacheName = 'userCache'
}
cacheManager(EhCacheManagerFactoryBean)
cacheManager(EhCacheManagerFactoryBean) {
cacheManagerName = 'spring-security-core-user-cache-' + UUID.randomUUID()
}
}
else {
userCache(NullUserCache)
Expand Down

0 comments on commit 8e2f981

Please sign in to comment.