Re: Rép. : Re: Java ImportClient and HTTP Authentication

2014-10-27 Thread Fabian Cretton
Jakob, Do we talk here about ClientConfiguration or ConfigurationClient ? In my understanding ConfigurationClient is a client to access the configuration of Marmotta whereas I was talking about ClientConfiguration here. In my code, to call the ImportClient, I am doing: ClientConfiguration co

Re: Rép. : Re: Java ImportClient and HTTP Authentication

2014-10-27 Thread Jakob Frank
It is - setting the username/passwd in the ConfigurationClient should do the trick. I had a look into org.apache.marmotta.client.clients.ConfigurationClient and org.apache.marmotta.client.util.HTTPUtil, this is where I found the warnings. We updated HttpClient to 4.3 some time ago which changed t

Rép. : Re: Java ImportClient and HTTP Authentication

2014-10-27 Thread Fabian Cretton
Do you mean that passing the user/pwd to the ClientConfiguration should be the correct way to do it ? And, more precisely, where is the use of a deprecated API of HttpClient ? thanks Fabian >>> Jakob Frank 27.10.2014 09:38 >>> Hi Fabian, while looking into the code for the data-import issue

Re: Java ImportClient and HTTP Authentication

2014-10-27 Thread Jakob Frank
Hi Fabian, while looking into the code for the data-import issue, I saw that we are using a deprecated API of HttpClient - maybe the authentication issue is related to that. Would be great if you could have a look into that and maybe provide a patch! Best, Jakob On 24 October 2014 13:56, Fabia

Re: Importing Data - API change ?

2014-10-27 Thread Jakob Frank
Updated On 24 October 2014 11:04, Sergio Fernández wrote: > I'll do it later. Thanks for the report. > > On 24/10/14 09:28, Fabian Cretton wrote: >> >> I think I found the answer, >> the context must now be specified in the ClientConfiguration. >> >> Maybe only the doc needs an update then :-) >>

Re: Rép. : Re: Importing Data - API change ?

2014-10-27 Thread Sergio Fernández
Hi Fabian, On 24/10/14 11:07, Fabian Cretton wrote: now that I start to be more familiar with Marmotta, and that I am developping new modules, I will try to be of some help if possible, providing code or doc update As you know our documentation could be much better. So any patch there coverin

Re: Rép. : Re: Importing Data - API change ?

2014-10-27 Thread Jakob Frank
Great, we're always looking for "fresh blood" ;-) For providing code/doc and related discussion, you might want to join dev@marmotta.a.o Best, Jakob On 24 October 2014 11:07, Fabian Cretton wrote: > Sergio, > > now that I start to be more familiar with Marmotta, and that I am > developping new