axis-c-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Senaka Fernando (JIRA)" <j...@apache.org>
Subject [jira] Updated: (AXIS2C-767) http Basic authentication fails when server requests http BASIC authentication
Date Sun, 09 Dec 2007 15:51:43 GMT

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

Senaka Fernando updated AXIS2C-767:
-----------------------------------

    Attachment: diff.txt

Hi Ryan,
Thanks for the information. There were some modifications done to authentication mechanisms
in axis 2/c and therefore all the comparisons need to be fixed. Refer diff.txt for the proposed
patch.

Thanks
Senaka.

> 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
>         Attachments: diff.txt
>
>
> 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: axis-c-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-dev-help@ws.apache.org


Mime
View raw message