chemistry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Zoran Brdar (JIRA)" <>
Subject [jira] [Updated] (CMIS-730) When using Commons HTTP, authentication does not work
Date Mon, 21 Oct 2013 08:52:43 GMT


Zoran Brdar updated CMIS-730:

    Summary: When using Commons HTTP, authentication does not work  (was: When using Commons
HTTP authentication does not work)

> When using Commons HTTP, authentication does not work
> -----------------------------------------------------
>                 Key: CMIS-730
>                 URL:
>             Project: Chemistry
>          Issue Type: Bug
>          Components: opencmis-client-bindings
>    Affects Versions: OpenCMIS 0.10.0
>         Environment: Java 1.7, httpClient 4.3,  
>            Reporter: Zoran Brdar
>              Labels: newbie
> Here's my StackOverflow communication with Florian Müller: 
> Here's the important part:
> I have set ClientBinding to use ApacheClientHttpInvoker.
> Now I get the "Unauthorized" exception when applying credentials. This worked with the
DefaultHTTPInvoker class. Am I missing something?? –  Brlja Oct 9 at 13:04    
> The ApacheClientHttpInvoker is pretty new and not very well tested. That's why you couldn't
find any information about it. It might have bugs! Having that said, basic authentication
has been tested and should work without any additional configuration. –  Florian Müller
Oct 9 at 14:11
> Florian, I have debuged the code with basic authentication, it works simillar (authentication)
as default http. Anyways, username and password gets b64 encoded and put as http header which
is then posted. This method works with default http but not with Apache http. In other project
of mine I use Client.setAuth(Credentials) and that works. I can modify AbstractApache class
but I do not prefer it because of forward compliance. If you are close to development team
can you check this out? –  Brlja Oct 9 at 16:56   
> Please open an issue here: –  Florian Müller Oct
9 at 18:58

This message was sent by Atlassian JIRA

View raw message