You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@chemistry.apache.org by "Florian Müller (JIRA)" <ji...@apache.org> on 2013/10/21 20:45:46 UTC

[jira] [Assigned] (CMIS-730) When using Commons HTTP, authentication does not work

     [ https://issues.apache.org/jira/browse/CMIS-730?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Florian Müller reassigned CMIS-730:
-----------------------------------

    Assignee: Florian Müller

> When using Commons HTTP, authentication does not work
> -----------------------------------------------------
>
>                 Key: CMIS-730
>                 URL: https://issues.apache.org/jira/browse/CMIS-730
>             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: 
> http://stackoverflow.com/questions/19268287/use-apacheclienthttpinvoker-instead-of-defaulthttpinvoker
> 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: issues.apache.org/jira/browse/CMIS –  Florian Müller Oct 9 at 18:58



--
This message was sent by Atlassian JIRA
(v6.1#6144)