axis-c-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ryan Ahearn (JIRA)" <j...@apache.org>
Subject [jira] Created: (AXIS2C-767) http Basic authentication fails when server requests http BASIC authentication
Date Thu, 15 Nov 2007 19:57:44 GMT
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


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