axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thomas michelbach" <t.michelb...@gmail.com>
Subject HTTP Authorization Header
Date Thu, 01 Mar 2007 11:15:35 GMT
Hi,

I'm trying to pass the Authorization header via HTTP.

Im using axis2 1.1.1 and trying to set the options like that


HttpTransportProperties.Authenticator auth = *new*
HttpTransportProperties.Authenticator();
auth.setUsername(username);
auth.setPassword(password);
options.setProperty(HttpTransportProperties.Authenticator.*BASIC*, auth);

My TPCmon is logging the information for me and axis does not send the HTTP
header for authorization (Base 64 encoded).
Is there a way to do that?
I only get following these header fields:

SOAPAction: "urn:anonOutInOp"
User-Agent: Axis2
Host: localhost:5554
Content-Length: 453
Content-Type: text/xml; charset=UTF-8

Bye and Thanks
-- 
Thomas Michelbach

Mime
View raw message