axis-c-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Samisa Abeysinghe (JIRA)" <>
Subject [jira] Closed: (AXISCPP-484) Support Basic Authentication with HTTP headers
Date Mon, 28 Feb 2005 05:38:48 GMT
     [ ]
Samisa Abeysinghe closed AXISCPP-484:

    Resolution: Fixed

Basic Authentication support was added to client API.

All one has to do is to call
setUsername() and setPassword() pair on Stub object


        InteropTestPortType ws (endpoint, APTHTTP1_1);

The engine will do the rest.
If at least one of username or password is set to NULL then auth header will not be set.
Calling the above API calls more than once on the API will yield undefined behaviour at the
moment. (Well it will set multiple auth headers, this has to be addressed)

> Support Basic Authentication with HTTP headers
> ----------------------------------------------
>          Key: AXISCPP-484
>          URL:
>      Project: Axis-C++
>         Type: Improvement
>   Components: Client - Engine
>     Reporter: Samisa Abeysinghe
>     Assignee: Samisa Abeysinghe
>      Fix For: 1.5 Final

> Support the following:
> Authorization: Basic QWxhZGRpbjpvcGVuIHNlc2FtZQ==
> Where the syntax is:
>        basic-credentials = "Basic" SP basic-cookie
>        basic-cookie      = <base64 [5] encoding of userid-password,
>                             except not limited to 76 char/line>
>        userid-password   = [ token ] ":" *TEXT

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
If you want more information on JIRA, or have a bug to report see:

View raw message