chemistry-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From f...@apache.org
Subject svn commit: r1148063 - /chemistry/site/trunk/content/java/how-to/how-to-connect.mdtext
Date Mon, 18 Jul 2011 21:39:08 GMT
Author: fmui
Date: Mon Jul 18 21:39:07 2011
New Revision: 1148063

URL: http://svn.apache.org/viewvc?rev=1148063&view=rev
Log:
added cookie hint

Modified:
    chemistry/site/trunk/content/java/how-to/how-to-connect.mdtext

Modified: chemistry/site/trunk/content/java/how-to/how-to-connect.mdtext
URL: http://svn.apache.org/viewvc/chemistry/site/trunk/content/java/how-to/how-to-connect.mdtext?rev=1148063&r1=1148062&r2=1148063&view=diff
==============================================================================
--- chemistry/site/trunk/content/java/how-to/how-to-connect.mdtext (original)
+++ chemistry/site/trunk/content/java/how-to/how-to-connect.mdtext Mon Jul 18 21:39:07 2011
@@ -12,6 +12,8 @@ A few repositories need [special treatme
 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. 
 
+### OpenCMIS 0.4.0 and earlier
+
 The following code snippet activates cookies for your application and OpenCMIS.
 See [this page](http://java.sun.com/docs/books/tutorial/networking/cookies/cookiemanager.html)
for details. Note, that all OpenCMIS sessions share the same set of cookies.
 
@@ -20,5 +22,7 @@ See [this page](http://java.sun.com/docs
     CookieHandler.setDefault(cm);
 
 If each session has to manage a separate set of cookies, a [custom authentication provider](../developing/client/dev-client-bindings.html#OpenCMISClientBindings-CustomAuthenticationProvider)
is required. 
-A sample authentication provider can be found [here](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).

-(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.) 
\ No newline at end of file
+
+### OpenCMIS 0.5.0 and later
+
+OpenCMIS has per-session cookie support. It can be activated by setting the [session parameter
COOKIES](../developing/dev-session-parameters.html) to "true".



Mime
View raw message