4 Replies Latest reply on Jul 11, 2012 7:53 AM by Gunnar Bostrom

    jax-ws client for HTTP Digest authentication

    Gunnar Bostrom Newbie

      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