portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a..@apache.org
Subject svn commit: r931542 - /portals/jetspeed-2/portal/trunk/jetspeed-portal-resources/src/main/resources/assembly/security-ldap.xml
Date Wed, 07 Apr 2010 13:39:38 GMT
Author: ate
Date: Wed Apr  7 13:39:38 2010
New Revision: 931542

URL: http://svn.apache.org/viewvc?rev=931542&view=rev
Log:
JS2-1136: Cleanup and strengthening the Security Entity/LDAP mapping
- better default LDAP mapping configuration for Group isMemberOf Role relationship

Modified:
    portals/jetspeed-2/portal/trunk/jetspeed-portal-resources/src/main/resources/assembly/security-ldap.xml

Modified: portals/jetspeed-2/portal/trunk/jetspeed-portal-resources/src/main/resources/assembly/security-ldap.xml
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/portal/trunk/jetspeed-portal-resources/src/main/resources/assembly/security-ldap.xml?rev=931542&r1=931541&r2=931542&view=diff
==============================================================================
--- portals/jetspeed-2/portal/trunk/jetspeed-portal-resources/src/main/resources/assembly/security-ldap.xml
(original)
+++ portals/jetspeed-2/portal/trunk/jetspeed-portal-resources/src/main/resources/assembly/security-ldap.xml
Wed Apr  7 13:39:38 2010
@@ -162,7 +162,7 @@
     <constructor-arg index="1">
       <list>
         <ref bean="UserRoleRelationDAO" />
-            <ref bean="RoleGroupRelationDAO" />
+            <ref bean="GroupRoleRelationDAO" />
             <ref bean="UserGroupRelationDAO" />
       </list>
     </constructor-arg>
@@ -323,11 +323,11 @@
     </property>
   </bean>
   
-  <bean id="RoleGroupRelationDAO" class="org.apache.jetspeed.security.mapping.ldap.dao.impl.AttributeBasedRelationDAO">
+  <bean id="GroupRoleRelationDAO" class="org.apache.jetspeed.security.mapping.ldap.dao.impl.AttributeBasedRelationDAO">
     <meta key="j2:cat" value="ldapSecurity" />
     <property name="relationAttribute" value="member" />
     <property name="attributeContainsInternalId" value="true" />
-    <property name="useFromEntityAttribute" value="true" />
+    <property name="useFromEntityAttribute" value="false" />
     <property name="relationType">
       <bean class="org.apache.jetspeed.security.mapping.impl.SecurityEntityRelationTypeImpl">
         <constructor-arg index="0" value="isMemberOf" />



---------------------------------------------------------------------
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