You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-dev@portals.apache.org by at...@apache.org on 2010/04/07 15:39:38 UTC
svn commit: r931542 -
/portals/jetspeed-2/portal/trunk/jetspeed-portal-resources/src/main/resources/assembly/security-ldap.xml
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