Author: buildbot
Date: Mon Feb 21 17:50:46 2011
New Revision: 785900
Log:
Staging update by buildbot
Modified:
websites/staging/chemistry/trunk/content/java/opencmis-cookbook.html
Modified: websites/staging/chemistry/trunk/content/java/opencmis-cookbook.html
==============================================================================
--- websites/staging/chemistry/trunk/content/java/opencmis-cookbook.html
(original)
+++ websites/staging/chemistry/trunk/content/java/opencmis-cookbook.html Mon
Feb 21 17:50:46 2011
@@ -252,17 +252,19 @@ Apache Chemistry - OpenCMIS Cookbook
<p>While connecting via AtomPub is straight forward, connecting via Web
Services is a bit tricky.</p>
<h5 id="atompub">AtomPub</h5>
-<p>The service document URL is
<code>http://</code><host><code>/_vti_bin/cmis/rest/</code><SPList><code>?getrepositoryinfo</code>.
+<p>The service document URL is
<code>http://<host>/_vti_bin/cmis/rest/<SPList>?getrepositoryinfo</code>.
Since this sends the password as plain text, HTTPS is strongly recommended.</p>
<h5 id="web_services">Web Services</h5>
<ol>
-<li>Download the WSDL with a web browser and store it on your local disk. The
WSDL URL is
<code>http://</code><host><code>/_vti_bin/cmissoapwsdl.aspx?wsdl</code>.</li>
+<li>Download the WSDL with a web browser and store it on your local disk. The
WSDL URL is
<code>http://<host>/_vti_bin/cmissoapwsdl.aspx?wsdl</code>.</li>
<li>Provide <code>file://</code>... URLs to the downloaded WSDL for all
OpenCMIS WSDL session parameters.</li>
-<li>Activate the OpenCMIS NTLM authentication provider.</li>
+<li>
+<p>Activate the OpenCMIS NTLM authentication provider.
+<br/></p>
+<p>:::java
+parameters.put(SessionParameter.AUTHENTICATION_PROVIDER_CLASS,
CmisBindingFactory.NTLM_AUTHENTICATION_PROVIDER);</p>
+</li>
</ol>
-<p><br/>
- :::java
- parameters.put(SessionParameter.AUTHENTICATION_PROVIDER_CLASS,
CmisBindingFactory.NTLM_AUTHENTICATION_PROVIDER);</p>
<p>(The NTLM authentication provider uses <a
href="http://download-llnw.oracle.com/javase/6/docs/api/java/net/Authenticator.html">java.net.Authenticator</a>
under the hood. If this interferes with your environment, you are on your
own.)</p>
<h4 id="using_cookies">Using Cookies</h4>