chemistry-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From build...@apache.org
Subject svn commit: r793015 - /websites/staging/chemistry/trunk/content/java/how-to/how-to-connect.html
Date Mon, 18 Jul 2011 21:39:17 GMT
Author: buildbot
Date: Mon Jul 18 21:39:17 2011
New Revision: 793015

Log:
Staging update by buildbot

Modified:
    websites/staging/chemistry/trunk/content/java/how-to/how-to-connect.html

Modified: websites/staging/chemistry/trunk/content/java/how-to/how-to-connect.html
==============================================================================
--- websites/staging/chemistry/trunk/content/java/how-to/how-to-connect.html (original)
+++ websites/staging/chemistry/trunk/content/java/how-to/how-to-connect.html Mon Jul 18 21:39:17
2011
@@ -189,6 +189,7 @@ Apache Chemistry - Connecting to a repos
 <h2 id="using_cookies">Using Cookies</h2>
 <p>Some repositories are sending HTTP cookies to maintain state (although CMIS is stateless)
or to accelerate authentication for subsequent calls. OpenCMIS
 ignores these cookies by default. </p>
+<h3 id="opencmis_040_and_earlier">OpenCMIS 0.4.0 and earlier</h3>
 <p>The following code snippet activates cookies for your application and OpenCMIS.
 See <a href="http://java.sun.com/docs/books/tutorial/networking/cookies/cookiemanager.html">this
page</a> for details. Note, that all OpenCMIS sessions share the same set of cookies.</p>
 <div class="codehilite"><pre><span class="n">CookieManager</span>
<span class="n">cm</span> <span class="o">=</span> <span class="k">new</span>
<span class="n">CookieManager</span><span class="o">(</span><span
class="kc">null</span><span class="o">,</span> <span class="n">CookiePolicy</span><span
class="o">.</span><span class="na">ACCEPT_ALL</span><span class="o">);</span>
@@ -196,9 +197,9 @@ See <a href="http://java.sun.com/docs/bo
 </pre></div>
 
 
-<p>If each session has to manage a separate set of cookies, a <a href="../developing/client/dev-client-bindings.html#OpenCMISClientBindings-CustomAuthenticationProvider">custom
authentication provider</a> is required. 
-A sample authentication provider can be found <a href="https://svn.apache.org/repos/asf/chemistry/opencmis/trunk/chemistry-opencmis-client/chemistry-opencmis-client-bindings/src/main/java/org/apache/chemistry/opencmis/client/bindings/spi/CookieAwareStandardAuthenticationProvider.java-6">here</a>.

-(This authentication provider is not part of the OpenCMIS client library because it makes
use of Java 6 classes and OpenCMIS is complied with Java 5. It also requires OpenCMIS 0.4.0
or higher.) </p></div>
+<p>If each session has to manage a separate set of cookies, a <a href="../developing/client/dev-client-bindings.html#OpenCMISClientBindings-CustomAuthenticationProvider">custom
authentication provider</a> is required. </p>
+<h3 id="opencmis_050_and_later">OpenCMIS 0.5.0 and later</h3>
+<p>OpenCMIS has per-session cookie support. It can be activated by setting the <a
href="../developing/dev-session-parameters.html">session parameter COOKIES</a> to
"true".</p></div>
              <!-- Content -->
            </td>
           </tr>



Mime
View raw message