[jboss-svn-commits] JBoss Portal SVN: r5605 - trunk/test/src/etc/identityconfig
jboss-svn-commits at lists.jboss.org
jboss-svn-commits at lists.jboss.org
Wed Nov 8 12:59:11 EST 2006
Author: bdaw
Date: 2006-11-08 12:59:08 -0500 (Wed, 08 Nov 2006)
New Revision: 5605
Modified:
trunk/test/src/etc/identityconfig/test2-config.xml
Log:
update for identity configuration proposal
Modified: trunk/test/src/etc/identityconfig/test2-config.xml
===================================================================
--- trunk/test/src/etc/identityconfig/test2-config.xml 2006-11-08 17:46:41 UTC (rev 5604)
+++ trunk/test/src/etc/identityconfig/test2-config.xml 2006-11-08 17:59:08 UTC (rev 5605)
@@ -61,7 +61,7 @@
<!--name of service and class for creating mbean-->
<service-name>portal:service=Module,type=Role</service-name>
- <class>org.jboss.portal.identity.ldap.LDAPUserModuleImp</class>
+ <class>org.jboss.portal.identity.ldap.LDAPRoleModuleImp</class>
<jndi-name>java:/portal/RoleModule</jndi-name>
<!--set of options that are passed to a class constructor-->
@@ -76,12 +76,12 @@
<!--For ldap configuration this is needed additionally to use ldap connection...-->
<module>
<!--type used to correctly map in IdentityContext registry-->
- <type>LDAPContextModule</type>
+ <type>LDAPConnectionContext</type>
<!--name of service and class for creating mbean-->
- <service-name>portal:service=Module,type=LDAPContext</service-name>
- <class>org.jboss.portal.identity.ldap.LDAPContextImp</class>
- <jndi-name>java:/portal/LDAPContext</jndi-name>
+ <service-name>portal:service=Module,type=LDAPConnectionContext</service-name>
+ <class>org.jboss.portal.identity.ldap.LDAPConnectionContextImp</class>
+ <jndi-name>java:/portal/LDAPConnectionContext</jndi-name>
<!--set of options that are passed to a class constructor-->
<config>
@@ -113,14 +113,13 @@
</module>
</modules>
-
- <!--Common options section-->
<options>
+ <!--Common options section-->
<option-group>
<group-name>common</group-name>
<option>
<name>userContainerDN</name>
- <value>ou=People,dc=jboss,dc=com</value>
+ <value>ou=People,dc=jboss,dc=org</value>
</option>
<option>
<name>uidAttributeId</name>
@@ -128,7 +127,7 @@
</option>
<option>
<name>roleContainerDN</name>
- <value>ou=Role,dc=jboss,dc=com</value>
+ <value>ou=Roles,dc=jboss,dc=org</value>
</option>
<option>
<name>ridAttributeId</name>
@@ -136,8 +135,16 @@
</option>
<option>
<name>roleDisplayNameAttributeID</name>
- <value>xxx</value>
+ <value>cn</value>
</option>
+ <option>
+ <name>roleMemberAttributeID</name>
+ <value>member</value>
+ </option>
+ <option>
+ <name>memberAttributeIsDN</name>
+ <value>true</value>
+ </option>
</option-group>
<option-group>
<group-name>userCreateAttibutes</group-name>
@@ -147,10 +154,15 @@
<value>uidObject</value>
<value>person</value>
</option>
+ <!--Schema requires those to have initial value-->
<option>
- <name>extraSchemaAtrribute</name>
- <value>extraValue</value>
+ <name>cn</name>
+ <value>none</value>
</option>
+ <option>
+ <name>sn</name>
+ <value>none</value>
+ </option>
</option-group>
<option-group>
<group-name>roleCreateAttibutes</group-name>
@@ -159,10 +171,17 @@
<value>top</value>
<value>groupOfNames</value>
</option>
+ <!--Schema requires those to have initial value-->
<option>
- <name>extraSchemaAtrribute</name>
- <value>extraValue</value>
+ <name>cn</name>
+ <value>none</value>
</option>
+ <!--Some directory servers require this attribute to be valid DN-->
+ <!--For safety reasons point to the admin user here-->
+ <option>
+ <name>member</name>
+ <value>uid=dummynonexistinguser,ou=People,dc=jboss,dc=org</value>
+ </option>
</option-group>
</options>
</identity-configuration>
\ No newline at end of file
More information about the jboss-svn-commits
mailing list