0

Anyone please let me know how to do below: Kerberos proxy authentication using Axis2_2.0.0 and httpclient5

My application is running on Axis2_1.8.0 and httpclient4.5.14 and Kerberos proxy is working as :

  • Creates Kerberos token using GSS-API
  • Set this token to httpclient headers
  • Set httpclient to Axis2 cached_httpclient property.

but now with Axis2_2.0.0 and httpclient5, always getting below error:

  • 407 Proxy Authentication Required

I want to be in working condition same as Axis2_1.8.0 and httpclient4.5.14.

10
  • Just to be sure – are you generating and setting a fresh token for every request? Kerberos doesn't allow token reuse, so maybe the way in which Axis2 uses the 'httpclient' has changed. Commented Sep 15 at 11:05
  • Thank you for the reply. I have created a service stub object and inserted the httpclient object at once for the lifetime. Commented Sep 15 at 11:59
  • With Axis2_1.8.0 and httpclient4.5.14, my code is working prperly. Commented Sep 15 at 11:59
  • but with Axis2_2.0.0 and httpclient5, it is not working. Commented Sep 15 at 12:00
  • >are you generating and setting a fresh token for every request? No Commented Sep 15 at 12:01

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.