portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a..@apache.org
Subject svn commit: r687486 - /portals/jetspeed-2/portal/branches/JS2-869/jetspeed-portal-resources/src/main/resources/assembly/security-managers.xml
Date Wed, 20 Aug 2008 21:59:33 GMT
Author: ate
Date: Wed Aug 20 14:59:33 2008
New Revision: 687486

URL: http://svn.apache.org/viewvc?rev=687486&view=rev
Log:
Adding missing transaction configuration for the security managers

Modified:
    portals/jetspeed-2/portal/branches/JS2-869/jetspeed-portal-resources/src/main/resources/assembly/security-managers.xml

Modified: portals/jetspeed-2/portal/branches/JS2-869/jetspeed-portal-resources/src/main/resources/assembly/security-managers.xml
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/portal/branches/JS2-869/jetspeed-portal-resources/src/main/resources/assembly/security-managers.xml?rev=687486&r1=687485&r2=687486&view=diff
==============================================================================
--- portals/jetspeed-2/portal/branches/JS2-869/jetspeed-portal-resources/src/main/resources/assembly/security-managers.xml
(original)
+++ portals/jetspeed-2/portal/branches/JS2-869/jetspeed-portal-resources/src/main/resources/assembly/security-managers.xml
Wed Aug 20 14:59:33 2008
@@ -19,7 +19,7 @@
   xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd">
 
   <!-- Security: User Manager -->
-  <bean id="org.apache.jetspeed.security.UserManager" class="org.apache.jetspeed.security.impl.UserManagerImpl">
+  <bean id="org.apache.jetspeed.security.impl.UserManagerImpl" class="org.apache.jetspeed.security.impl.UserManagerImpl">
     <meta key="j2:cat" value="default,security" />
     <constructor-arg index='0'>
       <ref bean="org.apache.jetspeed.security.SecurityProvider" />
@@ -29,8 +29,26 @@
     </constructor-arg>    
   </bean>
 
+  <bean id="org.apache.jetspeed.security.UserManager" parent="baseTransactionProxy">
+    <meta key="j2:cat" value="default,security" />
+    <property name="proxyInterfaces">
+      <value>org.apache.jetspeed.security.UserManager</value>
+    </property>
+    <property name="target">
+      <ref bean="org.apache.jetspeed.security.impl.UserManagerImpl" />
+    </property>
+    <property name="transactionAttributes">
+      <props>
+        <prop key="get*">PROPAGATION_SUPPORTS</prop>
+        <prop key="lookup*">PROPAGATION_SUPPORTS</prop>
+        <prop key="userExists">PROPAGATION_SUPPORTS</prop>
+        <prop key="*">PROPAGATION_REQUIRED</prop>
+      </props>
+    </property>
+  </bean>
+
   <!-- Security: Group Manager -->
-  <bean id="org.apache.jetspeed.security.GroupManager" class="org.apache.jetspeed.security.impl.GroupManagerImpl">
+  <bean id="org.apache.jetspeed.security.impl.GroupManagerImpl" class="org.apache.jetspeed.security.impl.GroupManagerImpl">
     <meta key="j2:cat" value="default,security" />
     <constructor-arg index="0">
       <ref bean="org.apache.jetspeed.security.SecurityProvider" />
@@ -40,8 +58,26 @@
     </constructor-arg>
   </bean>
 
+  <bean id="org.apache.jetspeed.security.GroupManager" parent="baseTransactionProxy">
+    <meta key="j2:cat" value="default,security" />
+    <property name="proxyInterfaces">
+      <value>org.apache.jetspeed.security.GroupManager</value>
+    </property>
+    <property name="target">
+      <ref bean="org.apache.jetspeed.security.impl.GroupManagerImpl" />
+    </property>
+    <property name="transactionAttributes">
+      <props>
+        <prop key="get*">PROPAGATION_SUPPORTS</prop>
+        <prop key="is*">PROPAGATION_SUPPORTS</prop>
+        <prop key="groupExists">PROPAGATION_SUPPORTS</prop>
+        <prop key="*">PROPAGATION_REQUIRED</prop>
+      </props>
+    </property>
+  </bean>
+
   <!-- Security: Role Manager -->
-  <bean id="org.apache.jetspeed.security.RoleManager" class="org.apache.jetspeed.security.impl.RoleManagerImpl">
+  <bean id="org.apache.jetspeed.security.impl.RoleManagerImpl" class="org.apache.jetspeed.security.impl.RoleManagerImpl">
     <meta key="j2:cat" value="default,security" />
     <constructor-arg index='0'>
       <ref bean="org.apache.jetspeed.security.SecurityProvider" />
@@ -51,6 +87,24 @@
     </constructor-arg>    
   </bean>
 
+  <bean id="org.apache.jetspeed.security.RoleManager" parent="baseTransactionProxy">
+    <meta key="j2:cat" value="default,security" />
+    <property name="proxyInterfaces">
+      <value>org.apache.jetspeed.security.RoleManager</value>
+    </property>
+    <property name="target">
+      <ref bean="org.apache.jetspeed.security.impl.RoleManagerImpl" />
+    </property>
+    <property name="transactionAttributes">
+      <props>
+        <prop key="get*">PROPAGATION_SUPPORTS</prop>
+        <prop key="is*">PROPAGATION_SUPPORTS</prop>
+        <prop key="roleExists">PROPAGATION_SUPPORTS</prop>
+        <prop key="*">PROPAGATION_REQUIRED</prop>
+      </props>
+    </property>
+  </bean>
+
   <!-- Security: Permission Manager -->
   <bean id="org.apache.jetspeed.security.impl.PermissionManagerImpl"
     class="org.apache.jetspeed.security.impl.PermissionManagerImpl">



---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org


Mime
View raw message