]> source.dussan.org Git - archiva.git/commitdiff
[MRM-1718] ldap configuration editable with the ui.
authorOlivier Lamy <olamy@apache.org>
Wed, 28 Nov 2012 21:13:20 +0000 (21:13 +0000)
committerOlivier Lamy <olamy@apache.org>
Wed, 28 Nov 2012 21:13:20 +0000 (21:13 +0000)
complete archiva configuration model.

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1414923 13f79535-47bb-0310-9956-ffa450edef68

archiva-modules/archiva-base/archiva-configuration/src/main/mdo/configuration.mdo

index 64a410c9672389cd99b9442e481c410b7917ea61..5a233c44342dba552ff00bb3adbe5d3dc0c77110 100644 (file)
           <type>String</type>
           <defaultValue>jdo</defaultValue>
         </field>
+        <field>
+          <name>ldapConfiguration</name>
+          <description>the ldap configuration</description>
+          <version>1.4.0+</version>
+          <association>
+            <type>LdapConfiguration</type>
+          </association>
+        </field>
+      </fields>
+    </class>
+
+    <class>
+      <name>LdapConfiguration</name>
+      <version>1.4.0+</version>
+      <description>
+        The LDAP configuration.
+      </description>
+      <fields>
+        <field>
+          <name>hostName</name>
+          <description>The LDAP host.</description>
+          <version>1.4.0+</version>
+          <type>String</type>
+        </field>
+        <field>
+          <name>port</name>
+          <description>The LDAP port.</description>
+          <version>1.4.0+</version>
+          <type>String</type>
+        </field>
+        <field>
+          <name>ssl</name>
+          <description>ssl LDAP connection.</description>
+          <version>1.4.0+</version>
+          <type>boolean</type>
+        </field>
+        <field>
+          <name>baseDn</name>
+          <description>The LDAP base dn.</description>
+          <version>1.4.0+</version>
+          <type>String</type>
+        </field>
+        <field>
+          <name>contextFactory</name>
+          <description>contextFactory to use.</description>
+          <version>1.4.0+</version>
+          <type>String</type>
+        </field>
+        <field>
+          <name>bindDn</name>
+          <description>The LDAP bind dn.</description>
+          <version>1.4.0+</version>
+          <type>String</type>
+        </field>
+        <field>
+          <name>password</name>
+          <description>The LDAP password.</description>
+          <version>1.4.0+</version>
+          <type>String</type>
+        </field>
+        <field>
+          <name>authenticationMethod</name>
+          <description>The LDAP authenticationMethod.</description>
+          <version>1.4.0+</version>
+          <type>String</type>
+        </field>
+        <field>
+          <name>extraProperties</name>
+          <version>1.4.0+</version>
+          <type>Map</type>
+          <description>Additionnal properties to use for ldap connection.</description>
+          <association xml.mapStyle="inline">
+            <type>String</type>
+            <multiplicity>*</multiplicity>
+          </association>
+        </field>
       </fields>
     </class>