RE: How to add a http header on DotCMIS

2016-01-20 Thread Lu, Wentao
al Message- From: Lu, Wentao Sent: 2016, January 20 10:35 AM To: 'Florian Müller'; dev@chemistry.apache.org Subject: RE: How to add a http header on DotCMIS Thanks Florian. I implemented a test provider but got a runtime errors "Could not load authentication provider: Value cannot be n

RE: How to add a http header on DotCMIS

2016-01-20 Thread Lu, Wentao
ks Wentao -Original Message- From: Florian Müller [mailto:f...@apache.org] Sent: 2016, January 20 12:21 AM To: dev@chemistry.apache.org Cc: Lu, Wentao Subject: Re: How to add a http header on DotCMIS Hi Wentao, There no such session parameter in DotCMIS. You have to implem

Re: How to add a http header on DotCMIS

2016-01-20 Thread Florian Müller
Hi Wentao, There no such session parameter in DotCMIS. You have to implement your own authentication provider to set HTTP headers. The simplest way is to derive your own authentication provider from StandardAuthenticationProvider and override the HttpAuthenticate method. - Florian Hi, We

How to add a http header on DotCMIS

2016-01-19 Thread Lu, Wentao
Hi, We have a .NET client need to consume CMIS. In java, we can use SessionParameters.HEADER to add more http headers in the request. How can we do the same on DotCMIS? It seems does not have such parameter on DotCMIS library. Thanks Wentao This email and its