JBoss Community

jax-ws client for HTTP Digest authentication

created by Gunnar Bostrom in JBoss Web Services - View the full discussion

Hi,

I've manage to set up JBoss 7.1.1-final with both HTTP BASIC and DIGEST authentication and it works fine when tesing with SOAPui.

Now I try with a jax-ws client and it works for BASIC authentication when I put the following lines in my code:



/* Optional credentials for basic authentication */


requestContext.put(BindingProvider.USERNAME_PROPERTY, "guest");


requestContext.put(BindingProvider.PASSWORD_PROPERTY, "pass");

 

What do I need to do to get DIGEST authentication work?

 

Thanks

Gunnar

Reply to this message by going to Community

Start a new discussion in JBoss Web Services at Community