I am able to get basic authentication working with Axis2 but would now like to switch to digest.

 

With BASIC I do the following:

 

HttpTransportPorperties.BasicAuthentication basicAuth = new HttpBasicTransportProperties().new BasicAuthentication();

basicAuth.setUsername(_username);

basicAuth.setPassword(_password);

options.setproperty(org.apache.axis2.transport.http.HTTPConstants.BASIC_AUTHENTICATION, basicAuth);

 

How is this accomplished with DIGEST authentication? There doesn’t appear to be a DigestAuthentication class or an http constant HTTPConstants.DIGEST_AUTHENTICATION.

 

Thanks.

 

 

Reply via email to