From 388826f5b007f54650146d2c4892ac378a0ee90d Mon Sep 17 00:00:00 2001
From: Matthew Swift <matthew.swift@forgerock.com>
Date: Wed, 22 Jun 2016 17:31:06 +0000
Subject: [PATCH] Minor fixes and cleanup for HTTP endpoint configuration

---
 opendj-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/HTTPEndpointConfiguration.xml |   17 ++++-------------
 1 files changed, 4 insertions(+), 13 deletions(-)

diff --git a/opendj-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/HTTPEndpointConfiguration.xml b/opendj-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/HTTPEndpointConfiguration.xml
index 57c2a3b..8731c5b 100644
--- a/opendj-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/HTTPEndpointConfiguration.xml
+++ b/opendj-maven-plugin/src/main/resources/config/xml/org/forgerock/opendj/server/config/HTTPEndpointConfiguration.xml
@@ -46,19 +46,15 @@
     </adm:profile>
   </adm:property>
 
-  <adm:property name="authorization-mechanism" mandatory="false" multi-valued="true">
+  <adm:property name="authorization-mechanism" mandatory="true" multi-valued="true">
     <adm:synopsis>
-      DNs of the authorization filters to apply to this
-      <adm:user-friendly-name />
-      .
+      The HTTP authorization mechanisms supported by this <adm:user-friendly-name />.
     </adm:synopsis>
     <adm:syntax>
       <adm:aggregation relation-name="http-authorization-mechanism" parent-path="/">
         <adm:constraint>
           <adm:synopsis>
-            The referenced authorization-mechanism must be enabled when the
-            <adm:user-friendly-name />
-            is enabled.
+            The referenced authorization mechanism must be enabled when the <adm:user-friendly-name /> is enabled.
           </adm:synopsis>
           <adm:target-needs-enabling-condition>
             <adm:contains property="enabled" value="true" />
@@ -69,11 +65,6 @@
         </adm:constraint>
       </adm:aggregation>
     </adm:syntax>
-    <adm:default-behavior>
-      <adm:defined>
-        <adm:value>cn=HTTP Basic,cn=HTTP Authorization Mechanisms,cn=config</adm:value>
-      </adm:defined>
-    </adm:default-behavior>
     <adm:profile name="ldap">
       <ldap:attribute>
         <ldap:name>ds-cfg-http-authorization-mechanism</ldap:name>
@@ -116,4 +107,4 @@
       </ldap:attribute>
     </adm:profile>
   </adm:property>
-</adm:managed-object>
\ No newline at end of file
+</adm:managed-object>

--
Gitblit v1.10.0