More headers and get the encoding correct

git-svn-id: https://svn.apache.org/repos/asf/manifoldcf/branches/CONNECTORS-1290@1770930 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/connectors/nuxeo/build.xml b/connectors/nuxeo/build.xml
index b16c7e2..7664e6b 100644
--- a/connectors/nuxeo/build.xml
+++ b/connectors/nuxeo/build.xml
@@ -49,11 +49,11 @@
     <target name="deliver-connector" depends="mcf-connector-build.deliver-connector">
         <antcall target="general-add-repository-connector">
             <param name="connector-label" value="Nuxeo"/>
-            <param name="connector-class" value="org.apache.manifoldcf.crawler.connectors.NuxeoRepositoryConnector"/>
+            <param name="connector-class" value="org.apache.manifoldcf.crawler.connectors.nuxeo.NuxeoRepositoryConnector"/>
         </antcall>
         <antcall target="general-add-authority-connector">
             <param name="connector-label" value="Nuxeo"/>
-            <param name="connector-class" value="org.apache.manifoldcf.authorities.authorities.NuxeoAuthorityConnector"/>
+            <param name="connector-class" value="org.apache.manifoldcf.authorities.authorities.nuxeo.NuxeoAuthorityConnector"/>
         </antcall>
     </target>
 
diff --git a/connectors/nuxeo/connector/src/main/native2ascii/org/apache/manifoldcf/authorities/authorities/nuxeo/common_en_US.properties b/connectors/nuxeo/connector/src/main/native2ascii/org/apache/manifoldcf/authorities/authorities/nuxeo/common_en_US.properties
index cfb84d1..c3051cb 100755
--- a/connectors/nuxeo/connector/src/main/native2ascii/org/apache/manifoldcf/authorities/authorities/nuxeo/common_en_US.properties
+++ b/connectors/nuxeo/connector/src/main/native2ascii/org/apache/manifoldcf/authorities/authorities/nuxeo/common_en_US.properties
@@ -1,3 +1,17 @@
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
 
 
 #Tabs
@@ -20,4 +34,4 @@
 NuxeoAuthorityConnector.PathMustBeginWithASlash = Nuxeo path must begin with '/' character
 
 #Buttons
-NuxeoAuthorityConnector.Add		= Add
\ No newline at end of file
+NuxeoAuthorityConnector.Add		= Add
diff --git a/connectors/nuxeo/connector/src/main/native2ascii/org/apache/manifoldcf/authorities/authorities/nuxeo/common_es_ES.properties b/connectors/nuxeo/connector/src/main/native2ascii/org/apache/manifoldcf/authorities/authorities/nuxeo/common_es_ES.properties
index 2f43565..10e0cc4 100755
--- a/connectors/nuxeo/connector/src/main/native2ascii/org/apache/manifoldcf/authorities/authorities/nuxeo/common_es_ES.properties
+++ b/connectors/nuxeo/connector/src/main/native2ascii/org/apache/manifoldcf/authorities/authorities/nuxeo/common_es_ES.properties
@@ -1,3 +1,17 @@
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
 
 
 #Tabs
@@ -9,16 +23,16 @@
 NuxeoAuthorityConnector.Port		= Puerto
 NuxeoAuthorityConnector.Path		= Ruta
 NuxeoAuthorityConnector.Username	= Nombre de usuario
-NuxeoAuthorityConnector.Password	= Contraseña
+NuxeoAuthorityConnector.Password	= Contraseña
 
 #Errors
 NuxeoAuthorityConnector.HostMustNotBeNull = El host de Nuxeo no debe ser nulo
-NuxeoAuthorityConnector.PasswordMustNotBeNull = La contraseña de nuxeo no debe ser nula.
-NuxeoAuthorityConnector.HostMustNotIncludeSlash = El host de Nuxeo no debe incluir el carácter '/'
+NuxeoAuthorityConnector.PasswordMustNotBeNull = La contraseña de nuxeo no debe ser nula.
+NuxeoAuthorityConnector.HostMustNotIncludeSlash = El host de Nuxeo no debe incluir el carácter '/'
 NuxeoAuthorityConnector.PortMustBeAnInteger = El puerto de Nuxeo debe ser un entero
 NuxeoAuthorityConnector.PathMustNotBeNull = La ruta de Nuxeo no debe ser nula
-NuxeoAuthorityConnector.PathMustBeginWithASlash = La ruta de Nuxeo debe comenzar por el carácter '/'
+NuxeoAuthorityConnector.PathMustBeginWithASlash = La ruta de Nuxeo debe comenzar por el carácter '/'
 
 #Buttons
-NuxeoAuthorityConnector.Add		= Añadir
+NuxeoAuthorityConnector.Add		= Añadir
 
diff --git a/connectors/nuxeo/connector/src/main/native2ascii/org/apache/manifoldcf/crawler/connectors/nuxeo/common_en_US.properties b/connectors/nuxeo/connector/src/main/native2ascii/org/apache/manifoldcf/crawler/connectors/nuxeo/common_en_US.properties
index b8356aa..c463144 100755
--- a/connectors/nuxeo/connector/src/main/native2ascii/org/apache/manifoldcf/crawler/connectors/nuxeo/common_en_US.properties
+++ b/connectors/nuxeo/connector/src/main/native2ascii/org/apache/manifoldcf/crawler/connectors/nuxeo/common_en_US.properties
@@ -1,3 +1,17 @@
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
 
 
 #Configuration tabs
diff --git a/connectors/nuxeo/connector/src/main/native2ascii/org/apache/manifoldcf/crawler/connectors/nuxeo/common_es_ES.properties b/connectors/nuxeo/connector/src/main/native2ascii/org/apache/manifoldcf/crawler/connectors/nuxeo/common_es_ES.properties
index 1655b08..8229cc2 100755
--- a/connectors/nuxeo/connector/src/main/native2ascii/org/apache/manifoldcf/crawler/connectors/nuxeo/common_es_ES.properties
+++ b/connectors/nuxeo/connector/src/main/native2ascii/org/apache/manifoldcf/crawler/connectors/nuxeo/common_es_ES.properties
@@ -1,3 +1,17 @@
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
 
 
 #Configuration tabs
@@ -15,29 +29,29 @@
 NuxeoRepositoryConnector.Port		= Puerto
 NuxeoRepositoryConnector.Path		= Ruta
 NuxeoRepositoryConnector.Username	= Nombre de usuario
-NuxeoRepositoryConnector.Password	= Contraseña
+NuxeoRepositoryConnector.Password	= Contraseña
 
 #Errors
 NuxeoRepositoryConnector.HostMustNotBeNull 		 = El host de Nuxeo no debe ser nulo
-NuxeoRepositoryConnector.PasswordMustNotBeNull 	 = La contraseña de nuxeo no debe ser nula.
-NuxeoRepositoryConnector.HostMustNotIncludeSlash = El host de Nuxeo no debe incluir el carácter '/'
+NuxeoRepositoryConnector.PasswordMustNotBeNull 	 = La contraseña de nuxeo no debe ser nula.
+NuxeoRepositoryConnector.HostMustNotIncludeSlash = El host de Nuxeo no debe incluir el carácter '/'
 NuxeoRepositoryConnector.PortMustBeAnInteger 	 = El puerto de Nuxeo debe ser un entero
 NuxeoRepositoryConnector.PathMustNotBeNull 		 = La ruta de Nuxeo no debe ser nula
-NuxeoRepositoryConnector.PathMustBeginWithASlash = La ruta de Nuxeo debe comenzar por el carácter '/'
+NuxeoRepositoryConnector.PathMustBeginWithASlash = La ruta de Nuxeo debe comenzar por el carácter '/'
 
 #Buttons
-NuxeoRepositoryConnector.Add			=	Añadir
-NuxeoRepositoryConnector.AddDomain  	=	Añadir dominio
-NuxeoRepositoryConnector.AddDocumentType  	=	Añadir tipo de documento
+NuxeoRepositoryConnector.Add			=	Añadir
+NuxeoRepositoryConnector.AddDomain  	=	Añadir dominio
+NuxeoRepositoryConnector.AddDocumentType  	=	Añadir tipo de documento
 NuxeoRepositoryConnector.Delete			=	Borrar
 NuxeoRepositoryConnector.DeleteDomain	=	Borrar dominio
 NuxeoRepositoryConnector.DeleteDocumentType	=	Borrar tipo de documento
 
 
-NuxeoRepositoryConnector.NoDomainsConfigured	=	Sin dominios configurados. Todos los dominios se rastrearán.
+NuxeoRepositoryConnector.NoDomainsConfigured	=	Sin dominios configurados. Todos los dominios se rastrearán.
 NuxeoRepositoryConnector.TypeInADomain			=	Escriba un dominio
 
-NuxeoRepositoryConnector.NoDocumentsTypeConfigured	=	Sin tipo de documentos configurados. Todos los tipos de documentos se rastrearán.
+NuxeoRepositoryConnector.NoDocumentsTypeConfigured	=	Sin tipo de documentos configurados. Todos los tipos de documentos se rastrearán.
 NuxeoRepositoryConnector.TypeInADocumentType		=	Escriba un tipo de documento
 
 NuxeoRepositoryConnector.ProcessTags= Procesar etiquetas
diff --git a/connectors/nuxeo/connector/src/main/resources/org/apache/manifoldcf/authorities/authorities/nuxeo/editConfiguration_conf.js b/connectors/nuxeo/connector/src/main/resources/org/apache/manifoldcf/authorities/authorities/nuxeo/editConfiguration_conf.js
index 6b8a9bc..dff8d02 100755
--- a/connectors/nuxeo/connector/src/main/resources/org/apache/manifoldcf/authorities/authorities/nuxeo/editConfiguration_conf.js
+++ b/connectors/nuxeo/connector/src/main/resources/org/apache/manifoldcf/authorities/authorities/nuxeo/editConfiguration_conf.js
@@ -1,3 +1,20 @@
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements.  See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License.  You may obtain a copy of the License at
+
+     http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
 <script type="text/javascript">
 <!--
 function checkConfig()
diff --git a/connectors/nuxeo/connector/src/main/resources/org/apache/manifoldcf/authorities/authorities/nuxeo/editConfiguration_conf_server.html b/connectors/nuxeo/connector/src/main/resources/org/apache/manifoldcf/authorities/authorities/nuxeo/editConfiguration_conf_server.html
index 219ebcf..689d45a 100755
--- a/connectors/nuxeo/connector/src/main/resources/org/apache/manifoldcf/authorities/authorities/nuxeo/editConfiguration_conf_server.html
+++ b/connectors/nuxeo/connector/src/main/resources/org/apache/manifoldcf/authorities/authorities/nuxeo/editConfiguration_conf_server.html
@@ -1,81 +1,98 @@
- #if($TABNAME ==
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements.  See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License.  You may obtain a copy of the License at
+
+     http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+#if($TABNAME ==
 $ResourceBundle.getString('NuxeoAuthorityConnector.Server'))
 
 <table class="displaytable">
-	<tr>
-		<td class="separator" colspan="2"><hr /></td>
-	</tr>
+  <tr>
+    <td class="separator" colspan="2"><hr /></td>
+  </tr>
 
-	<tr>
-		<td class="description"><nobr>$Encoder.bodyEscape($ResourceBundle.getString('NuxeoAuthorityConnector.Protocol'))</nobr>
-		</td>
-		<td class="value">
-			<select size="2" name="nuxeo_protocol" />
-				#if($NUXEO_PROTOCOL == 'https')
-					<option value="http">http</option>
-					<option value="https" selected>https</option>
-				#else
-					<option value="http" selected>http</option>
-					<option value="https" >https</option>
-				#end 
-			</select>
-		</td>
-	</tr>
+  <tr>
+    <td class="description"><nobr>$Encoder.bodyEscape($ResourceBundle.getString('NuxeoAuthorityConnector.Protocol'))</nobr>
+    </td>
+    <td class="value">
+      <select size="2" name="nuxeo_protocol" />
+        #if($NUXEO_PROTOCOL == 'https')
+          <option value="http">http</option>
+          <option value="https" selected>https</option>
+        #else
+          <option value="http" selected>http</option>
+          <option value="https" >https</option>
+        #end 
+      </select>
+    </td>
+  </tr>
 
-	<tr>
-		<td class="description"><nobr>$Encoder.bodyEscape($ResourceBundle.getString('NuxeoAuthorityConnector.Host'))</nobr>
-		</td>
-		<td class="value"><input size="32" type="text" id="nuxeo_host"
-			name="nuxeo_host" value="$Encoder.attributeEscape($NUXEO_HOST)" /></td>
-	</tr>
+  <tr>
+    <td class="description"><nobr>$Encoder.bodyEscape($ResourceBundle.getString('NuxeoAuthorityConnector.Host'))</nobr>
+    </td>
+    <td class="value"><input size="32" type="text" id="nuxeo_host"
+      name="nuxeo_host" value="$Encoder.attributeEscape($NUXEO_HOST)" /></td>
+  </tr>
 
-	<tr>
-		<td class="description"><nobr>$Encoder.bodyEscape($ResourceBundle.getString('NuxeoAuthorityConnector.Port'))</nobr>
-		</td>
-		<td class="value"><input size="5" type="text" id="nuxeo_port"
-			name="nuxeo_port" value="$Encoder.attributeEscape($NUXEO_PORT)" /></td>
-	</tr>
+  <tr>
+    <td class="description"><nobr>$Encoder.bodyEscape($ResourceBundle.getString('NuxeoAuthorityConnector.Port'))</nobr>
+    </td>
+    <td class="value"><input size="5" type="text" id="nuxeo_port"
+      name="nuxeo_port" value="$Encoder.attributeEscape($NUXEO_PORT)" /></td>
+  </tr>
 
-	<tr>
-		<td class="description"><nobr>$Encoder.bodyEscape($ResourceBundle.getString('NuxeoAuthorityConnector.Path'))</nobr>
-		</td>
-		<td class="value"><input size="32" type="text" id="nuxeo_path"
-			name="nuxeo_path" value="$Encoder.attributeEscape($NUXEO_PATH)" /></td>
-	</tr>
+  <tr>
+    <td class="description"><nobr>$Encoder.bodyEscape($ResourceBundle.getString('NuxeoAuthorityConnector.Path'))</nobr>
+    </td>
+    <td class="value"><input size="32" type="text" id="nuxeo_path"
+      name="nuxeo_path" value="$Encoder.attributeEscape($NUXEO_PATH)" /></td>
+  </tr>
 
-	<tr>
-		<td class="separator" colspan="2"><hr /></td>
-	</tr>
+  <tr>
+    <td class="separator" colspan="2"><hr /></td>
+  </tr>
 
-	<tr>
-		<td class="description"><nobr>$Encoder.bodyEscape($ResourceBundle.getString('NuxeoAuthorityConnector.Username'))</nobr>
-		</td>
-		<td class="value"><input size="16" type="text"
-			id="nuxeo_username" name="nuxeo_username"
-			value="$Encoder.attributeEscape($NUXEO_USERNAME)" /></td>
-	</tr>
-	<tr>
-		<td class="description"><nobr>$Encoder.bodyEscape($ResourceBundle.getString('NuxeoAuthorityConnector.Password'))</nobr>
-		</td>
-		<td class="value"><input size="16" type="password"
-			id="nuxeo_password" name="nuxeo_password"
-			value="" /></td>
-	</tr>
+  <tr>
+    <td class="description"><nobr>$Encoder.bodyEscape($ResourceBundle.getString('NuxeoAuthorityConnector.Username'))</nobr>
+    </td>
+    <td class="value"><input size="16" type="text"
+      id="nuxeo_username" name="nuxeo_username"
+      value="$Encoder.attributeEscape($NUXEO_USERNAME)" /></td>
+  </tr>
+  <tr>
+    <td class="description"><nobr>$Encoder.bodyEscape($ResourceBundle.getString('NuxeoAuthorityConnector.Password'))</nobr>
+    </td>
+    <td class="value"><input size="16" type="password"
+      id="nuxeo_password" name="nuxeo_password"
+      value="" /></td>
+  </tr>
 </table>
 
 #else
 
 <input type="hidden" name="nuxeo_protocol"
-	value="$Encoder.attributeEscape($NUXEO_PROTOCOL)" />
+  value="$Encoder.attributeEscape($NUXEO_PROTOCOL)" />
 <input type="hidden" name="nuxeo_host"
-	value="$Encoder.attributeEscape($NUXEO_HOST)" />
+  value="$Encoder.attributeEscape($NUXEO_HOST)" />
 <input type="hidden" name="nuxeo_port"
-	value="$Encoder.attributeEscape($NUXEO_PORT)" />
+  value="$Encoder.attributeEscape($NUXEO_PORT)" />
 <input type="hidden" name="nuxeo_path"
-	value="$Encoder.attributeEscape($NUXEO_PATH)" />
+  value="$Encoder.attributeEscape($NUXEO_PATH)" />
 <input type="hidden" name="nuxeo_username"
-	value="$Encoder.attributeEscape($NUXEO_USERNAME)" />
+  value="$Encoder.attributeEscape($NUXEO_USERNAME)" />
 <input type="hidden" name="nuxeo_password"
-	value="$Encoder.attributeEscape($NUXEO_PASSWORD)" />
+  value="$Encoder.attributeEscape($NUXEO_PASSWORD)" />
 
 #end
diff --git a/connectors/nuxeo/connector/src/main/resources/org/apache/manifoldcf/authorities/authorities/nuxeo/viewConfiguration_conf.html b/connectors/nuxeo/connector/src/main/resources/org/apache/manifoldcf/authorities/authorities/nuxeo/viewConfiguration_conf.html
index 438ac55..2e0fa09 100755
--- a/connectors/nuxeo/connector/src/main/resources/org/apache/manifoldcf/authorities/authorities/nuxeo/viewConfiguration_conf.html
+++ b/connectors/nuxeo/connector/src/main/resources/org/apache/manifoldcf/authorities/authorities/nuxeo/viewConfiguration_conf.html
@@ -1,32 +1,48 @@
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements.  See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License.  You may obtain a copy of the License at
+
+     http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
 
 <table class="displayTable">
-	<tr>
-		<td class="description"><nobr>$Encoder.bodyEscape($ResourceBundle.getString('NuxeoAuthorityConnector.Protocol'))</nobr>
-		</td>
-		<td><nobr>$Encoder.bodyEscape($NUXEO_PROTOCOL)</nobr></td>
-	</tr>
-	<tr>
-		<td class="description"><nobr>$Encoder.bodyEscape($ResourceBundle.getString('NuxeoAuthorityConnector.Host'))</nobr>
-		</td>
-		<td><nobr>$Encoder.bodyEscape($NUXEO_HOST)</nobr></td>
-	</tr>
-	<tr>
-		<td class="description"><nobr>$Encoder.bodyEscape($ResourceBundle.getString('NuxeoAuthorityConnector.Port'))</nobr>
-		</td>
-		<td><nobr>$Encoder.bodyEscape($NUXEO_PORT)</nobr></td>
-	</tr>
-	<tr>
-		<td class="description"><nobr>$Encoder.bodyEscape($ResourceBundle.getString('NuxeoAuthorityConnector.Path'))</nobr>
-		</td>
-		<td><nobr>$Encoder.bodyEscape($NUXEO_PATH)</nobr></td>
-	</tr>
-	<tr>
-		<td class="description"><nobr>$Encoder.bodyEscape($ResourceBundle.getString('NuxeoAuthorityConnector.Username'))</nobr>
-		</td>
-		<td><nobr>$Encoder.bodyEscape($NUXEO_USERNAME)</nobr></td>
-	</tr>
-	<tr>
-		<td class="description"><nobr>$Encoder.bodyEscape($ResourceBundle.getString('NuxeoAuthorityConnector.Password'))</nobr>
-		</td>
-		<td><nobr>*****</nobr></td>
+  <tr>
+    <td class="description"><nobr>$Encoder.bodyEscape($ResourceBundle.getString('NuxeoAuthorityConnector.Protocol'))</nobr>
+    </td>
+    <td><nobr>$Encoder.bodyEscape($NUXEO_PROTOCOL)</nobr></td>
+  </tr>
+  <tr>
+    <td class="description"><nobr>$Encoder.bodyEscape($ResourceBundle.getString('NuxeoAuthorityConnector.Host'))</nobr>
+    </td>
+    <td><nobr>$Encoder.bodyEscape($NUXEO_HOST)</nobr></td>
+  </tr>
+  <tr>
+    <td class="description"><nobr>$Encoder.bodyEscape($ResourceBundle.getString('NuxeoAuthorityConnector.Port'))</nobr>
+    </td>
+    <td><nobr>$Encoder.bodyEscape($NUXEO_PORT)</nobr></td>
+  </tr>
+  <tr>
+    <td class="description"><nobr>$Encoder.bodyEscape($ResourceBundle.getString('NuxeoAuthorityConnector.Path'))</nobr>
+    </td>
+    <td><nobr>$Encoder.bodyEscape($NUXEO_PATH)</nobr></td>
+  </tr>
+  <tr>
+    <td class="description"><nobr>$Encoder.bodyEscape($ResourceBundle.getString('NuxeoAuthorityConnector.Username'))</nobr>
+    </td>
+    <td><nobr>$Encoder.bodyEscape($NUXEO_USERNAME)</nobr></td>
+  </tr>
+  <tr>
+    <td class="description"><nobr>$Encoder.bodyEscape($ResourceBundle.getString('NuxeoAuthorityConnector.Password'))</nobr>
+    </td>
+    <td><nobr>*****</nobr></td>
 </table>
\ No newline at end of file
diff --git a/connectors/nuxeo/connector/src/main/resources/org/apache/manifoldcf/crawler/connectors/nuxeo/editConfiguration_conf.js b/connectors/nuxeo/connector/src/main/resources/org/apache/manifoldcf/crawler/connectors/nuxeo/editConfiguration_conf.js
index 8055bd1..a19e786 100755
--- a/connectors/nuxeo/connector/src/main/resources/org/apache/manifoldcf/crawler/connectors/nuxeo/editConfiguration_conf.js
+++ b/connectors/nuxeo/connector/src/main/resources/org/apache/manifoldcf/crawler/connectors/nuxeo/editConfiguration_conf.js
@@ -1,3 +1,19 @@
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements.  See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License.  You may obtain a copy of the License at
+
+     http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
 
 <script type="text/javascript">
 <!--
diff --git a/connectors/nuxeo/connector/src/main/resources/org/apache/manifoldcf/crawler/connectors/nuxeo/editConfiguration_conf_server.html b/connectors/nuxeo/connector/src/main/resources/org/apache/manifoldcf/crawler/connectors/nuxeo/editConfiguration_conf_server.html
index acf8dd9..61b4cd1 100755
--- a/connectors/nuxeo/connector/src/main/resources/org/apache/manifoldcf/crawler/connectors/nuxeo/editConfiguration_conf_server.html
+++ b/connectors/nuxeo/connector/src/main/resources/org/apache/manifoldcf/crawler/connectors/nuxeo/editConfiguration_conf_server.html
@@ -1,81 +1,97 @@
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements.  See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License.  You may obtain a copy of the License at
+
+     http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
  #if($TABNAME ==
 $ResourceBundle.getString('NuxeoRepositoryConnector.Server'))
 
 <table class="displaytable">
-	<tr>
-		<td class="separator" colspan="2"><hr /></td>
-	</tr>
+  <tr>
+    <td class="separator" colspan="2"><hr /></td>
+  </tr>
 
-	<tr>
-		<td class="description"><nobr>$Encoder.bodyEscape($ResourceBundle.getString('NuxeoRepositoryConnector.Protocol'))</nobr>
-		</td>
-		<td class="value">
-			<select size="2" name="nuxeo_protocol" />
-				#if($NUXEO_PROTOCOL == 'https')
-					<option value="http">http</option>
-					<option value="https" selected>https</option>
-				#else
-					<option value="http" selected>http</option>
-					<option value="https" >https</option>
-				#end 
-			</select>
-		</td>
-	</tr>
+  <tr>
+    <td class="description"><nobr>$Encoder.bodyEscape($ResourceBundle.getString('NuxeoRepositoryConnector.Protocol'))</nobr>
+    </td>
+    <td class="value">
+      <select size="2" name="nuxeo_protocol" />
+        #if($NUXEO_PROTOCOL == 'https')
+          <option value="http">http</option>
+          <option value="https" selected>https</option>
+        #else
+          <option value="http" selected>http</option>
+          <option value="https" >https</option>
+        #end 
+      </select>
+    </td>
+  </tr>
 
-	<tr>
-		<td class="description"><nobr>$Encoder.bodyEscape($ResourceBundle.getString('NuxeoRepositoryConnector.Host'))</nobr>
-		</td>
-		<td class="value"><input size="32" type="text" id="nuxeo_host"
-			name="nuxeo_host" value="$Encoder.attributeEscape($NUXEO_HOST)" /></td>
-	</tr>
+  <tr>
+    <td class="description"><nobr>$Encoder.bodyEscape($ResourceBundle.getString('NuxeoRepositoryConnector.Host'))</nobr>
+    </td>
+    <td class="value"><input size="32" type="text" id="nuxeo_host"
+      name="nuxeo_host" value="$Encoder.attributeEscape($NUXEO_HOST)" /></td>
+  </tr>
 
-	<tr>
-		<td class="description"><nobr>$Encoder.bodyEscape($ResourceBundle.getString('NuxeoRepositoryConnector.Port'))</nobr>
-		</td>
-		<td class="value"><input size="5" type="text" id="nuxeo_port"
-			name="nuxeo_port" value="$Encoder.attributeEscape($NUXEO_PORT)" /></td>
-	</tr>
+  <tr>
+    <td class="description"><nobr>$Encoder.bodyEscape($ResourceBundle.getString('NuxeoRepositoryConnector.Port'))</nobr>
+    </td>
+    <td class="value"><input size="5" type="text" id="nuxeo_port"
+      name="nuxeo_port" value="$Encoder.attributeEscape($NUXEO_PORT)" /></td>
+  </tr>
 
-	<tr>
-		<td class="description"><nobr>$Encoder.bodyEscape($ResourceBundle.getString('NuxeoRepositoryConnector.Path'))</nobr>
-		</td>
-		<td class="value"><input size="32" type="text" id="nuxeo_path"
-			name="nuxeo_path" value="$Encoder.attributeEscape($NUXEO_PATH)" /></td>
-	</tr>
+  <tr>
+    <td class="description"><nobr>$Encoder.bodyEscape($ResourceBundle.getString('NuxeoRepositoryConnector.Path'))</nobr>
+    </td>
+    <td class="value"><input size="32" type="text" id="nuxeo_path"
+      name="nuxeo_path" value="$Encoder.attributeEscape($NUXEO_PATH)" /></td>
+  </tr>
 
-	<tr>
-		<td class="separator" colspan="2"><hr /></td>
-	</tr>
+  <tr>
+    <td class="separator" colspan="2"><hr /></td>
+  </tr>
 
-	<tr>
-		<td class="description"><nobr>$Encoder.bodyEscape($ResourceBundle.getString('NuxeoRepositoryConnector.Username'))</nobr>
-		</td>
-		<td class="value"><input size="16" type="text"
-			id="nuxeo_username" name="nuxeo_username"
-			value="$Encoder.attributeEscape($NUXEO_USERNAME)" /></td>
-	</tr>
-	<tr>
-		<td class="description"><nobr>$Encoder.bodyEscape($ResourceBundle.getString('NuxeoRepositoryConnector.Password'))</nobr>
-		</td>
-		<td class="value"><input size="16" type="password"
-			id="nuxeo_password" name="nuxeo_password"
-			value="" /></td>
-	</tr>
+  <tr>
+    <td class="description"><nobr>$Encoder.bodyEscape($ResourceBundle.getString('NuxeoRepositoryConnector.Username'))</nobr>
+    </td>
+    <td class="value"><input size="16" type="text"
+      id="nuxeo_username" name="nuxeo_username"
+      value="$Encoder.attributeEscape($NUXEO_USERNAME)" /></td>
+  </tr>
+  <tr>
+    <td class="description"><nobr>$Encoder.bodyEscape($ResourceBundle.getString('NuxeoRepositoryConnector.Password'))</nobr>
+    </td>
+    <td class="value"><input size="16" type="password"
+      id="nuxeo_password" name="nuxeo_password"
+      value="" /></td>
+  </tr>
 </table>
 
 #else
 
 <input type="hidden" name="nuxeo_protocol"
-	value="$Encoder.attributeEscape($NUXEO_PROTOCOL)" />
+  value="$Encoder.attributeEscape($NUXEO_PROTOCOL)" />
 <input type="hidden" name="nuxeo_host"
-	value="$Encoder.attributeEscape($NUXEO_HOST)" />
+  value="$Encoder.attributeEscape($NUXEO_HOST)" />
 <input type="hidden" name="nuxeo_port"
-	value="$Encoder.attributeEscape($NUXEO_PORT)" />
+  value="$Encoder.attributeEscape($NUXEO_PORT)" />
 <input type="hidden" name="nuxeo_path"
-	value="$Encoder.attributeEscape($NUXEO_PATH)" />
+  value="$Encoder.attributeEscape($NUXEO_PATH)" />
 <input type="hidden" name="nuxeo_username"
-	value="$Encoder.attributeEscape($NUXEO_USERNAME)" />
+  value="$Encoder.attributeEscape($NUXEO_USERNAME)" />
 <input type="hidden" name="nuxeo_password"
-	value="" />
+  value="" />
 
 #end
diff --git a/connectors/nuxeo/connector/src/main/resources/org/apache/manifoldcf/crawler/connectors/nuxeo/editSpecification_conf.js b/connectors/nuxeo/connector/src/main/resources/org/apache/manifoldcf/crawler/connectors/nuxeo/editSpecification_conf.js
index c908ef7..6fbe358 100755
--- a/connectors/nuxeo/connector/src/main/resources/org/apache/manifoldcf/crawler/connectors/nuxeo/editSpecification_conf.js
+++ b/connectors/nuxeo/connector/src/main/resources/org/apache/manifoldcf/crawler/connectors/nuxeo/editSpecification_conf.js
@@ -1,8 +1,24 @@
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements.  See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License.  You may obtain a copy of the License at
+
+     http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
 
 <script type="text/javascript">
 
 function checkSpecificationForSave(){
-	return true;
+  return true;
 }
 
 function s${SeqNum}_SpecOp(n, opValue, anchorvalue)
@@ -14,7 +30,7 @@
 //Domains
 function s${SeqNum}_SpecDeleteDomain(i)
 {
-	s${SeqNum}_SpecOp("s${SeqNum}_domainop_"+i,"Delete","domain_"+i);
+  s${SeqNum}_SpecOp("s${SeqNum}_domainop_"+i,"Delete","domain_"+i);
 }
 
 function s${SeqNum}_SpecAddDomain(i)
@@ -32,7 +48,7 @@
 //Documents
 function s${SeqNum}_SpecDeleteDocumentType(i)
 {
-	s${SeqNum}_SpecOp("s${SeqNum}_documentTypeop_"+i,"Delete","documentType_"+i);
+  s${SeqNum}_SpecOp("s${SeqNum}_documentTypeop_"+i,"Delete","documentType_"+i);
 }
 
 function s${SeqNum}_SpecAddDocumentType(i)
diff --git a/connectors/nuxeo/connector/src/main/resources/org/apache/manifoldcf/crawler/connectors/nuxeo/editSpecification_confDocuments.html b/connectors/nuxeo/connector/src/main/resources/org/apache/manifoldcf/crawler/connectors/nuxeo/editSpecification_confDocuments.html
index 54dc42f..a490c15 100755
--- a/connectors/nuxeo/connector/src/main/resources/org/apache/manifoldcf/crawler/connectors/nuxeo/editSpecification_confDocuments.html
+++ b/connectors/nuxeo/connector/src/main/resources/org/apache/manifoldcf/crawler/connectors/nuxeo/editSpecification_confDocuments.html
@@ -1,37 +1,53 @@
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements.  See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License.  You may obtain a copy of the License at
+
+     http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
 #if($TabName ==
 $ResourceBundle.getString('NuxeoRepositoryConnector.Documents') &&
 ${SeqNum} == ${SelectedNum})
 
 <table class="displaytable">
-	<tr>
-		<td class="separator" colspan="2"><hr /></td>
-	</tr>
+  <tr>
+    <td class="separator" colspan="2"><hr /></td>
+  </tr>
 
-	<tr>
-		<td class="description" colspan="2">
-			$Encoder.bodyEscape($ResourceBundle.getString('NuxeoRepositoryConnector.ProcessTags'))
-		</td>
-		<td class="value"><input type="checkbox"
-			name="s${SeqNum}_process_tags" value="true"
-			#if($PROCESS_TAGS) checked 
+  <tr>
+    <td class="description" colspan="2">
+      $Encoder.bodyEscape($ResourceBundle.getString('NuxeoRepositoryConnector.ProcessTags'))
+    </td>
+    <td class="value"><input type="checkbox"
+      name="s${SeqNum}_process_tags" value="true"
+      #if($PROCESS_TAGS) checked 
       #end /></td>
-	</tr>
-	<tr>
-		<td class="description" colspan="2">
-			$Encoder.bodyEscape($ResourceBundle.getString('NuxeoRepositoryConnector.ProcessAttachments'))
-		</td>
-		<td class="value"><input type="checkbox"
-			name="s${SeqNum}_process_attachments" value="true"
-			#if($PROCESS_ATTACHMENTS) checked 
+  </tr>
+  <tr>
+    <td class="description" colspan="2">
+      $Encoder.bodyEscape($ResourceBundle.getString('NuxeoRepositoryConnector.ProcessAttachments'))
+    </td>
+    <td class="value"><input type="checkbox"
+      name="s${SeqNum}_process_attachments" value="true"
+      #if($PROCESS_ATTACHMENTS) checked 
       #end /></td>
-	</tr>
+  </tr>
 </table>
 
 #else
 
 <input type="hidden" name="s${SeqNum}_process_tags"
-	value="$PROCESS_TAGS" />
+  value="$PROCESS_TAGS" />
 <input type="hidden" name="s${SeqNum}_process_attachments"
-	value="$PROCESS_ATTACHMENTS" />
+  value="$PROCESS_ATTACHMENTS" />
 
 #end
diff --git a/connectors/nuxeo/connector/src/main/resources/org/apache/manifoldcf/crawler/connectors/nuxeo/editSpecification_confDocumentsType.html b/connectors/nuxeo/connector/src/main/resources/org/apache/manifoldcf/crawler/connectors/nuxeo/editSpecification_confDocumentsType.html
index be413c6..368ea8f 100755
--- a/connectors/nuxeo/connector/src/main/resources/org/apache/manifoldcf/crawler/connectors/nuxeo/editSpecification_confDocumentsType.html
+++ b/connectors/nuxeo/connector/src/main/resources/org/apache/manifoldcf/crawler/connectors/nuxeo/editSpecification_confDocumentsType.html
@@ -1,3 +1,19 @@
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements.  See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License.  You may obtain a copy of the License at
+
+     http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
 
 #if($TabName == $ResourceBundle.getString('NuxeoRepositoryConnector.DocumentsType') && ${SeqNum} == ${SelectedNum})
 
diff --git a/connectors/nuxeo/connector/src/main/resources/org/apache/manifoldcf/crawler/connectors/nuxeo/viewConfiguration_conf.html b/connectors/nuxeo/connector/src/main/resources/org/apache/manifoldcf/crawler/connectors/nuxeo/viewConfiguration_conf.html
index 17af996..f99a66e 100755
--- a/connectors/nuxeo/connector/src/main/resources/org/apache/manifoldcf/crawler/connectors/nuxeo/viewConfiguration_conf.html
+++ b/connectors/nuxeo/connector/src/main/resources/org/apache/manifoldcf/crawler/connectors/nuxeo/viewConfiguration_conf.html
@@ -1,52 +1,68 @@
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements.  See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License.  You may obtain a copy of the License at
+
+     http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
 
 <table class="displayTable">
 
-	<tr>
-		<td class="description">
-			<nobr>$Encoder.bodyEscape($ResourceBundle.getString('NuxeoRepositoryConnector.Protocol'))</nobr>
-		</td>
-		<td>
-			<nobr>$Encoder.bodyEscape($NUXEO_PROTOCOL)</nobr>
-		</td>
-	</tr>
-	<tr>
-		<td class="description">
-			<nobr>$Encoder.bodyEscape($ResourceBundle.getString('NuxeoRepositoryConnector.Host'))</nobr>
-		</td>
-		<td>
-			<nobr>$Encoder.bodyEscape($NUXEO_HOST)</nobr>
-		</td>
-	</tr>
-	<tr>
-		<td class="description">
-			<nobr>$Encoder.bodyEscape($ResourceBundle.getString('NuxeoRepositoryConnector.Port'))</nobr>
-		</td>
-		<td>
-			<nobr>$Encoder.bodyEscape($NUXEO_PORT)</nobr>
-		</td>
-	</tr>
-	<tr>
-		<td class="description">
-			<nobr>$Encoder.bodyEscape($ResourceBundle.getString('NuxeoRepositoryConnector.Path'))</nobr>
-		</td>
-		<td>
-			<nobr>$Encoder.bodyEscape($NUXEO_PATH)</nobr>
-		</td>
-	</tr>
-	<tr>
-		<td class="description">
-			<nobr>$Encoder.bodyEscape($ResourceBundle.getString('NuxeoRepositoryConnector.Username'))</nobr>
-		</td>
-		<td>
-			<nobr>$Encoder.bodyEscape($NUXEO_USERNAME)</nobr>
-		</td>
-	</tr>
-	<tr>
-		<td class="description">
-			<nobr>$Encoder.bodyEscape($ResourceBundle.getString('NuxeoRepositoryConnector.Password'))</nobr>
-		</td>
-		<td>
-			<nobr>*****</nobr>
-		</td>
+  <tr>
+    <td class="description">
+      <nobr>$Encoder.bodyEscape($ResourceBundle.getString('NuxeoRepositoryConnector.Protocol'))</nobr>
+    </td>
+    <td>
+      <nobr>$Encoder.bodyEscape($NUXEO_PROTOCOL)</nobr>
+    </td>
+  </tr>
+  <tr>
+    <td class="description">
+      <nobr>$Encoder.bodyEscape($ResourceBundle.getString('NuxeoRepositoryConnector.Host'))</nobr>
+    </td>
+    <td>
+      <nobr>$Encoder.bodyEscape($NUXEO_HOST)</nobr>
+    </td>
+  </tr>
+  <tr>
+    <td class="description">
+      <nobr>$Encoder.bodyEscape($ResourceBundle.getString('NuxeoRepositoryConnector.Port'))</nobr>
+    </td>
+    <td>
+      <nobr>$Encoder.bodyEscape($NUXEO_PORT)</nobr>
+    </td>
+  </tr>
+  <tr>
+    <td class="description">
+      <nobr>$Encoder.bodyEscape($ResourceBundle.getString('NuxeoRepositoryConnector.Path'))</nobr>
+    </td>
+    <td>
+      <nobr>$Encoder.bodyEscape($NUXEO_PATH)</nobr>
+    </td>
+  </tr>
+  <tr>
+    <td class="description">
+      <nobr>$Encoder.bodyEscape($ResourceBundle.getString('NuxeoRepositoryConnector.Username'))</nobr>
+    </td>
+    <td>
+      <nobr>$Encoder.bodyEscape($NUXEO_USERNAME)</nobr>
+    </td>
+  </tr>
+  <tr>
+    <td class="description">
+      <nobr>$Encoder.bodyEscape($ResourceBundle.getString('NuxeoRepositoryConnector.Password'))</nobr>
+    </td>
+    <td>
+      <nobr>*****</nobr>
+    </td>
 
 </table>
\ No newline at end of file
diff --git a/connectors/nuxeo/connector/src/main/resources/org/apache/manifoldcf/crawler/connectors/nuxeo/viewSpecification_conf.html b/connectors/nuxeo/connector/src/main/resources/org/apache/manifoldcf/crawler/connectors/nuxeo/viewSpecification_conf.html
index 23cbbc2..3e49e4d 100755
--- a/connectors/nuxeo/connector/src/main/resources/org/apache/manifoldcf/crawler/connectors/nuxeo/viewSpecification_conf.html
+++ b/connectors/nuxeo/connector/src/main/resources/org/apache/manifoldcf/crawler/connectors/nuxeo/viewSpecification_conf.html
@@ -1,39 +1,55 @@
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements.  See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License.  You may obtain a copy of the License at
+
+     http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
 
 <table class="displaytable">
-	<tr>
-		#if($DOMAINS.size() == 0)
-		<td class="message" colspan="2"><nobr>$Encoder.bodyEscape($ResourceBundle.getString('NuxeoRepositoryConnector.NoDomainsConfigured'))</nobr>
-		</td> #else
-		<td class="description"><nobr>$Encoder.bodyEscape($ResourceBundle.getString('NuxeoRepositoryConnector.Domains')):</nobr>
-		</td>
-		<td class="value">#set($domaincounter = 0) #foreach($domain in
-			$DOMAINS) <nobr>$Encoder.bodyEscape($domain)</nobr><br />
-			#set($domaincounter = $domaincounter + 1) #end
-		</td> #end
-	</tr>
-	<tr>
-		#if($DOCUMENTSTYPE.size() == 0)
-		<td class="message" colspan="2"><nobr>$Encoder.bodyEscape($ResourceBundle.getString('NuxeoRepositoryConnector.NoDocumentsTypeConfigured'))</nobr>
-		</td> #else
-		<td class="description"><nobr>$Encoder.bodyEscape($ResourceBundle.getString('NuxeoRepositoryConnector.DocumentsType')):</nobr>
-		</td>
-		<td class="value">#set($documentTypecounter = 0)
-			#foreach($documentType in $DOCUMENTSTYPE) <nobr>$Encoder.bodyEscape($documentType)</nobr><br />
-			#set($documentTypecounter = $documentTypecounter + 1) #end
-		</td> #end
-	</tr>
-	<tr>
-		<td class="description"><nobr>
-				$Encoder.bodyEscape($ResourceBundle.getString('NuxeoRepositoryConnector.ProcessTags')):
-			</nobr></td>
-		<td class="value"><nobr>$Encoder.bodyEscape($PROCESS_TAGS)</nobr>
-		</td>
-	</tr>
-	<tr>
-		<td class="description"><nobr>
-				$Encoder.bodyEscape($ResourceBundle.getString('NuxeoRepositoryConnector.ProcessAttachments')):
-			</nobr></td>
-		<td class="value"><nobr>$Encoder.bodyEscape($PROCESS_ATTACHMENTS)</nobr>
-		</td>
-	</tr>
+  <tr>
+    #if($DOMAINS.size() == 0)
+    <td class="message" colspan="2"><nobr>$Encoder.bodyEscape($ResourceBundle.getString('NuxeoRepositoryConnector.NoDomainsConfigured'))</nobr>
+    </td> #else
+    <td class="description"><nobr>$Encoder.bodyEscape($ResourceBundle.getString('NuxeoRepositoryConnector.Domains')):</nobr>
+    </td>
+    <td class="value">#set($domaincounter = 0) #foreach($domain in
+      $DOMAINS) <nobr>$Encoder.bodyEscape($domain)</nobr><br />
+      #set($domaincounter = $domaincounter + 1) #end
+    </td> #end
+  </tr>
+  <tr>
+    #if($DOCUMENTSTYPE.size() == 0)
+    <td class="message" colspan="2"><nobr>$Encoder.bodyEscape($ResourceBundle.getString('NuxeoRepositoryConnector.NoDocumentsTypeConfigured'))</nobr>
+    </td> #else
+    <td class="description"><nobr>$Encoder.bodyEscape($ResourceBundle.getString('NuxeoRepositoryConnector.DocumentsType')):</nobr>
+    </td>
+    <td class="value">#set($documentTypecounter = 0)
+      #foreach($documentType in $DOCUMENTSTYPE) <nobr>$Encoder.bodyEscape($documentType)</nobr><br />
+      #set($documentTypecounter = $documentTypecounter + 1) #end
+    </td> #end
+  </tr>
+  <tr>
+    <td class="description"><nobr>
+        $Encoder.bodyEscape($ResourceBundle.getString('NuxeoRepositoryConnector.ProcessTags')):
+      </nobr></td>
+    <td class="value"><nobr>$Encoder.bodyEscape($PROCESS_TAGS)</nobr>
+    </td>
+  </tr>
+  <tr>
+    <td class="description"><nobr>
+        $Encoder.bodyEscape($ResourceBundle.getString('NuxeoRepositoryConnector.ProcessAttachments')):
+      </nobr></td>
+    <td class="value"><nobr>$Encoder.bodyEscape($PROCESS_ATTACHMENTS)</nobr>
+    </td>
+  </tr>
 </table>
\ No newline at end of file