axis-c-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Samisa Abeysinghe (JIRA)" <axis-c-...@ws.apache.org>
Subject [jira] Closed: (AXISCPP-484) Support Basic Authentication with HTTP headers
Date Mon, 28 Feb 2005 05:38:48 GMT
     [ http://issues.apache.org/jira/browse/AXISCPP-484?page=history ]
     
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

e.g. 

        InteropTestPortType ws (endpoint, APTHTTP1_1);
        ws.setUsername("tomcat");
        ws.setPassword("tomcat");

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: http://issues.apache.org/jira/browse/AXISCPP-484
>      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:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


Mime
View raw message