From: Joakim Erdfelt Date: Thu, 30 Nov 2006 17:09:09 +0000 (+0000) Subject: Configuring for JDO caching. X-Git-Tag: archiva-0.9-alpha-1~265 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=fc26f6788324ef8413d7e9df3765289038dbfaff;p=archiva.git Configuring for JDO caching. git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@481004 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/archiva-webapp/pom.xml b/archiva-webapp/pom.xml index 5b0176e7a..087373fad 100644 --- a/archiva-webapp/pom.xml +++ b/archiva-webapp/pom.xml @@ -152,6 +152,10 @@ org.codehaus.plexus.security plexus-security-user-management-provider-jdo + + org.codehaus.plexus.security + plexus-security-authorization-rbac-store-cached + org.codehaus.plexus.security plexus-security-authorization-rbac-store-jdo diff --git a/archiva-webapp/src/main/resources/META-INF/plexus/application.xml b/archiva-webapp/src/main/resources/META-INF/plexus/application.xml index b688a95f2..747fb5eca 100644 --- a/archiva-webapp/src/main/resources/META-INF/plexus/application.xml +++ b/archiva-webapp/src/main/resources/META-INF/plexus/application.xml @@ -202,7 +202,8 @@ org.codehaus.plexus.security.rbac.RBACManager - jdo + cached + manager org.codehaus.plexus.security.user.UserManager @@ -216,6 +217,50 @@ + + org.codehaus.plexus.security.rbac.RBACManager + cached + org.codehaus.plexus.security.authorization.rbac.store.cached.CachedRbacManager + CachedRbacManager is a wrapped RBACManager with caching. + + + org.codehaus.plexus.security.rbac.RBACManager + jdo + rbacImpl + + + org.codehaus.plexus.ehcache.EhcacheComponent + operations + operationsCache + + + org.codehaus.plexus.ehcache.EhcacheComponent + permissions + permissionsCache + + + org.codehaus.plexus.ehcache.EhcacheComponent + resources + resourcesCache + + + org.codehaus.plexus.ehcache.EhcacheComponent + roles + rolesCache + + + org.codehaus.plexus.ehcache.EhcacheComponent + userAssignments + userAssignmentsCache + + + org.codehaus.plexus.ehcache.EhcacheComponent + userPermissions + userPermissionsCache + + + + org.codehaus.plexus.security.policy.UserSecurityPolicy default diff --git a/pom.xml b/pom.xml index 1133b40f9..ad390b278 100644 --- a/pom.xml +++ b/pom.xml @@ -323,6 +323,11 @@ plexus-security-user-management-provider-jdo ${plexus-security.version} + + org.codehaus.plexus.security + plexus-security-authorization-rbac-store-cached + ${plexus-security.version} + org.codehaus.plexus.security plexus-security-authorization-rbac-store-jdo