You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@chemistry.apache.org by fm...@apache.org on 2011/03/25 12:05:52 UTC

svn commit: r1085320 - in /chemistry/site/trunk/content/java/developing: dev-known-repo-issues.mdtext dev-session-parameters.mdtext

Author: fmui
Date: Fri Mar 25 11:05:52 2011
New Revision: 1085320

URL: http://svn.apache.org/viewvc?rev=1085320&view=rev
Log:
- added timeout documentation
- fixed SharePoint documentation

Modified:
    chemistry/site/trunk/content/java/developing/dev-known-repo-issues.mdtext
    chemistry/site/trunk/content/java/developing/dev-session-parameters.mdtext

Modified: chemistry/site/trunk/content/java/developing/dev-known-repo-issues.mdtext
URL: http://svn.apache.org/viewvc/chemistry/site/trunk/content/java/developing/dev-known-repo-issues.mdtext?rev=1085320&r1=1085319&r2=1085320&view=diff
==============================================================================
--- chemistry/site/trunk/content/java/developing/dev-known-repo-issues.mdtext (original)
+++ chemistry/site/trunk/content/java/developing/dev-known-repo-issues.mdtext Fri Mar 25 11:05:52 2011
@@ -11,24 +11,28 @@ TODO
 ## SharePoint 2010
     
 While connecting via AtomPub is straight forward, connecting via Web Services is a bit tricky.
+(See also Microsofts [CMIS documentation](http://msdn.microsoft.com/en-us/library/ff934619.aspx) for details.)
     
 ### AtomPub
     
 The service document URL is `http://<host>/_vti_bin/cmis/rest/<SPList>?getrepositoryinfo`.
-Since this sends the password as plain text, HTTPS is strongly recommended.
 
 
 ### Web Services
     
 1. Download the WSDL with a web browser and store it on your local disk. The WSDL URL is `http://<host>/_vti_bin/cmissoapwsdl.aspx?wsdl`.
 1. Provide `file://`... URLs to the downloaded WSDL for all OpenCMIS WSDL session parameters.
-1. Activate the OpenCMIS NTLM authentication provider.
 
-&nbsp;
+
+### Authentication
+
+If NTLM is enabled on SharePoint, you have to activate the OpenCMIS NTLM authentication provider.
 
     :::java
     parameters.put(SessionParameter.AUTHENTICATION_PROVIDER_CLASS, CmisBindingFactory.NTLM_AUTHENTICATION_PROVIDER);
 
 
 (The NTLM authentication provider uses [java.net.Authenticator](http://download-llnw.oracle.com/javase/6/docs/api/java/net/Authenticator.html)
- under the hood. If this interferes with your environment, you are on your own. Sorry!)
+under the hood. If this interferes with your environment, you are on your own. Sorry!)
+
+

Modified: chemistry/site/trunk/content/java/developing/dev-session-parameters.mdtext
URL: http://svn.apache.org/viewvc/chemistry/site/trunk/content/java/developing/dev-session-parameters.mdtext?rev=1085320&r1=1085319&r2=1085320&view=diff
==============================================================================
--- chemistry/site/trunk/content/java/developing/dev-session-parameters.mdtext (original)
+++ chemistry/site/trunk/content/java/developing/dev-session-parameters.mdtext Fri Mar 25 11:05:52 2011
@@ -28,6 +28,8 @@ org.apache.chemistry.opencmis.binding.au
 org.apache.chemistry.opencmis.binding.auth.http.basic|AUTH_HTTP_BASIC|Switch to turn HTTP basic authentication on or off|"true", "false"|no|Depends on BINDING_TYPE
 org.apache.chemistry.opencmis.binding.auth.soap.usernametoken|AUTH_SOAP_USERNAMETOKEN|Switch to turn UsernameTokens on or off|"true", "false"|no|Depends on BINDING_TYPE
 org.apache.chemistry.opencmis.binding.compression|COMPRESSION|Switch to turn HTTP compression on or off|"true", "false"|no|false
+org.apache.chemistry.opencmis.binding.connecttimeout|CONNECT_TIMEOUT|HTTP connect timeout|time in milliseconds|no|*JVM default*
+org.apache.chemistry.opencmis.binding.readtimeout|READ_TIMEOUT|HTTP read timeout|time in milliseconds|no|*JVM default*
 org.apache.chemistry.opencmis.cache.classname|CACHE_CLASS|Cache implementation|class name|no|org.apache.chemistry.opencmis.client.runtime.cache.CacheImpl
 org.apache.chemistry.opencmis.cache.objects.size|CACHE_SIZE_OBJECTS|Object cache size|number of objects|no|1000
 org.apache.chemistry.opencmis.cache.objects.ttl|CACHE_TTL_OBJECTS|Object cache time-to-live|time in milliseconds|no|7200000 (2 hours)