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

Dumindu Pallewela reassigned AXIS2C-767:
----------------------------------------

    Assignee: Dumindu Pallewela

> http Basic authentication fails when server requests http BASIC authentication
> ------------------------------------------------------------------------------
>
>                 Key: AXIS2C-767
>                 URL: https://issues.apache.org/jira/browse/AXIS2C-767
>             Project: Axis2-C
>          Issue Type: Bug
>          Components: core/transport, transport/http
>    Affects Versions: 1.1.0
>         Environment: Any
>            Reporter: Ryan Ahearn
>            Assignee: Dumindu Pallewela
>
> When trying to connect to a webservice using the Axis2/C 1.1 client library, 
> authentication is failing because http_sender.c is using a case sensitive 
> compare between the server returned authentication required and the types of 
> authentication that the client knows how to handle.  Here is a diff of 
> http_sender.c with the changes I made to enable BASIC authentication 
> interoperable with Basic authentication.
> 1293c1293
> <         if (axutil_strcmp(auth_type, AXIS2_HTTP_AUTH_TYPE_BASIC) == 0)
> ---
> >         if (axutil_strcasecmp(auth_type, AXIS2_HTTP_AUTH_TYPE_BASIC) == 0)
> 1296c1296
> <         else if (axutil_strcmp(auth_type, AXIS2_HTTP_AUTH_TYPE_DIGEST) == 0)
> ---
> >         else if (axutil_strcasecmp(auth_type, AXIS2_HTTP_AUTH_TYPE_DIGEST) 
> > == 0)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to