Jersey Client API - authentication

后端 未结 7 2114
不知归路
不知归路 2020-11-30 23:14

I\'m using the Jersey client API to submit SOAP requests to a JAX-WS webservice. By default Jersey is somehow using my Windows Nt credentials for authentication when challen

7条回答
  •  旧时难觅i
    2020-12-01 00:06

    There's a small section in the Jersey User guide about Client authentication. I'd recommend you follow its advice and try using Apache HTTP Client instead of HttpURLConnection, as it has much better support for just about anything you'd want to do.

提交回复
热议问题