portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a..@apache.org
Subject svn commit: r502803 - /portals/jetspeed-2/trunk/components/security/etc/security-spi-ldap.xml
Date Sat, 03 Feb 2007 00:10:19 GMT
Author: ate
Date: Fri Feb  2 16:10:18 2007
New Revision: 502803

URL: http://svn.apache.org/viewvc?view=rev&rev=502803
Log:
Providing a correct example for the ldap configuration (copied from apacheds tests setup1)

Modified:
    portals/jetspeed-2/trunk/components/security/etc/security-spi-ldap.xml

Modified: portals/jetspeed-2/trunk/components/security/etc/security-spi-ldap.xml
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/trunk/components/security/etc/security-spi-ldap.xml?view=diff&rev=502803&r1=502802&r2=502803
==============================================================================
--- portals/jetspeed-2/trunk/components/security/etc/security-spi-ldap.xml (original)
+++ portals/jetspeed-2/trunk/components/security/etc/security-spi-ldap.xml Fri Feb  2 16:10:18
2007
@@ -17,6 +17,8 @@
 -->
 <beans>
 
+
+
   <!-- ************** Ldap Configuration ************** -->
   <bean id="org.apache.jetspeed.security.spi.impl.ldap.LdapBindingConfig"
       class="org.apache.jetspeed.security.spi.impl.ldap.LdapBindingConfig">
@@ -26,53 +28,74 @@
       <constructor-arg index="1"><value>localhost</value></constructor-arg>
       <!-- The LDAP server port. -->
       <constructor-arg index="2"><value>10389</value></constructor-arg>
-      <!-- The LDAP server default dn suffix. -->
-      <constructor-arg index="3"><value></value></constructor-arg>
       <!-- The LDAP server root context. -->
-      <constructor-arg index="4"><value>o=sevenSeas</value></constructor-arg>
+      <constructor-arg index="3"><value>o=sevenSeas</value></constructor-arg>
       <!-- The LDAP server root dn. -->
-      <constructor-arg index="5"><value>uid=admin,ou=system</value></constructor-arg>
+      <constructor-arg index="4"><value>uid=admin,ou=system</value></constructor-arg>
       <!-- The LDAP server root password. -->
-      <constructor-arg index="6"><value>secret</value></constructor-arg>
+      <constructor-arg index="5"><value>secret</value></constructor-arg>
       <!-- The roles filter. -->
-      <constructor-arg index="7"><value>(objectclass=groupOfUniqueNames))</value></constructor-arg>
+      <constructor-arg index="6"><value>(objectclass=groupOfNames)</value></constructor-arg>
       <!-- The groups filter. -->
-      <constructor-arg index="8"><value>(objectClass=organization)</value></constructor-arg>
+      <constructor-arg index="7"><value>(objectclass=groupOfUniqueNames)</value></constructor-arg>
       <!-- The user filter. -->
-      <constructor-arg index="9"><value>(objectclass=inetorgperson)</value></constructor-arg>
-      <!-- The userAuthenticationFiler. -->
-      <constructor-arg index="10"><value>(&amp;(uid=%u)(objectclass=inetorgperson))</value></constructor-arg>
+      <constructor-arg index="8"><value>(objectclass=inetorgperson)(objectclass=organizationalPerson)</value></constructor-arg>
       <!-- The roleMembershipAttributes. -->
-      <constructor-arg index="11"><value>uniqueMember</value></constructor-arg>
+      <constructor-arg index="9"><value>member</value></constructor-arg>
       <!-- The userRoleMembershipAttributes. -->
-      <constructor-arg index="12"><value></value></constructor-arg>
+      <constructor-arg index="10"><value></value></constructor-arg>
       <!-- The groupMembershipAttributes. -->
-      <constructor-arg index="13"><value>uniqueMember</value></constructor-arg>
+      <constructor-arg index="11"><value>uniqueMember</value></constructor-arg>
       <!-- The userGroupMembershipAttributes. -->
-      <constructor-arg index="14"><value></value></constructor-arg>
+      <constructor-arg index="12"><value></value></constructor-arg>
       <!-- The groupMembershipForRoleAttributes. -->
-      <constructor-arg index="15"><value>uniqueMember</value></constructor-arg>
+      <constructor-arg index="13"><value>uniqueMember</value></constructor-arg>
       <!-- The roleGroupMembershipForRoleAttributes. -->
-      <constructor-arg index="16"><value></value></constructor-arg>
     
+      <constructor-arg index="14"><value></value></constructor-arg>
     
       <!-- The defaultSearchBase. -->
-      <constructor-arg index="17"><value>o=sevenSeas</value></constructor-arg>
+      <constructor-arg index="15"><value></value></constructor-arg>
       <!-- The roleFilterBase. -->
-      <constructor-arg index="18"><value>ou=Roles,ou=OrgUnit1</value></constructor-arg>
+      <constructor-arg index="16"><value></value></constructor-arg>
       <!-- The groupFilterBase. -->
-      <constructor-arg index="19"><value>ou=Groups,ou=OrgUnit1</value></constructor-arg>
+      <constructor-arg index="17"><value></value></constructor-arg>
       <!-- The userFilterBase. -->
-      <constructor-arg index="20"><value>ou=People,ou=OrgUnit1</value></constructor-arg>
+      <constructor-arg index="18"><value></value></constructor-arg>
       <!-- The roleObjectClasses. -->
-      <constructor-arg index="21"><value>top,groupOfUniqueNames</value></constructor-arg>
+      <constructor-arg index="19"><value>top,groupOfNames</value></constructor-arg>
       <!-- The groupObjectClasses. -->
-      <constructor-arg index="22"><value>top,organization</value></constructor-arg>
+      <constructor-arg index="20"><value>top,groupOfUniqueNames</value></constructor-arg>
       <!-- The userObjectClasses. -->
-      <constructor-arg index="23"><value>top,person,organizationalPerson,inetorgperson</value></constructor-arg>
+      <constructor-arg index="21"><value>top,person,organizationalPerson,inetorgperson</value></constructor-arg>
       <!-- The roleIdAttribute. -->
-      <constructor-arg index="24"><value>cn</value></constructor-arg>
+      <constructor-arg index="22"><value>cn</value></constructor-arg>
       <!-- The groupIdAttribute. -->
-      <constructor-arg index="25"><value>cn</value></constructor-arg>
-	  <!-- The userIdAttribute. -->
-      <constructor-arg index="26"><value>uid</value></constructor-arg>
+      <constructor-arg index="23"><value>cn</value></constructor-arg>
+	  	<!-- The userIdAttribute. -->
+      <constructor-arg index="24"><value>cn</value></constructor-arg>
+      <!-- The UidAttribute. -->
+      <constructor-arg index="25"><value>uid</value></constructor-arg>
+      <!-- The MemberShipSearchScope. -->
+      <constructor-arg index="26"><value>1</value></constructor-arg>
+      <!-- The roleUidAttribute. -->
+      <constructor-arg index="27"><value>cn</value></constructor-arg>
+      <!-- The groupUidAttribute. -->
+      <constructor-arg index="28"><value>cn</value></constructor-arg>
+	  <!-- The userUidAttribute. -->
+      <constructor-arg index="29"><value>uid</value></constructor-arg>
+	  <!-- The roleObjectRequiredAttributeClasses. -->
+      <constructor-arg index="30"><value>member</value></constructor-arg>
+	  <!-- The groupObjectRequiredAttributeClasses. -->
+      <constructor-arg index="31"><value>uniqueMember</value></constructor-arg>
+	  <!-- The userAttributes. -->
+      <constructor-arg index="32"><value>sn={u},cn={u},uid={u}</value></constructor-arg>
+	  <!-- The roleAttributes. -->
+      <constructor-arg index="33"><value></value></constructor-arg>
+	  <!-- The groupAttributes. -->
+      <constructor-arg index="34"><value></value></constructor-arg>
+	  <!-- The userPasswordAttribute. -->
+      <constructor-arg index="35"><value>userPassword</value></constructor-arg>
+	  <!-- The knownAttributes. -->
+      <constructor-arg index="36"><value>cn,sn,o,uid,ou,objectClass,userPassword,member,uniqueMember,memberOf</value></constructor-arg>
   </bean>
+
 </beans>



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