chemistry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Florian Müller (JIRA) <>
Subject [jira] [Resolved] (CMIS-730) When using Commons HTTP, authentication does not work
Date Mon, 28 Oct 2013 03:01:31 GMT


Florian Müller resolved CMIS-730.

    Resolution: Cannot Reproduce

Basic authentication works fine with the current code. The correct HTTP header is set and
test servers accept it as expected.

> 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
>            Assignee: Florian Müller
>              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