axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gAm <>
Subject Re: AXIS2 1.1.1 problem with BASIC AUTH
Date Sun, 22 Apr 2007 20:57:10 GMT

aassif wrote:
> I went through the whole discussion and when tried to implement BASIC
> Authentication I can't find the Authenticator class, the one which I can
> locate is only HttpTransportProperties.Authenticator.

It was HttpTransportProperties.Authenticator that was used. My apologies for
causing confusion - I should absolutely have used the full notation for the
inner class.

        // Strings 'username' and 'password' presupposed, 
        // as well as an Options object 'options'
        HttpTransportProperties.Authenticator authenticator =
    	    new HttpTransportProperties.Authenticator();
        List<String> auth = new ArrayList<String>();


        options.setProperty(HTTPConstants.AUTHENTICATE, authenticator);


aassif wrote:
> But HttpTransportProperties.Authenticator doesn't have any property BASIC
> and seems to be different from Authenticator class used in the thread. 

I believe 'BASIC' is a static field of HttpTransportProperties.Authenticator
in Axis2 v1.1.1, at least.
HttpTransportProperties.Authenticator Field Detail .

  Geir Amdal

View this message in context:
Sent from the Axis - User mailing list archive at

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message