1

I want to use JWT for authentication purpose for information exchange. According to the JWT documentation documentation, I have to add a header with field Authorization : Bearer <token> .

But in apache jena in HttpOp.java which execHttpGet(...) method I have to execute and what values of parameters I have to pass and where this header value Authorization : Bearer <token> I have to put ?

Why HttpAuthenticator in parameter of executeHttpGet(...) if it is interface?

Please response in simple terms , I am not clear with HttpContext , HttpClient , HttpAuthenticator.

Brian Tompsett - 汤莱恩
  • 5,753
  • 72
  • 57
  • 129
Badman
  • 407
  • 5
  • 17

0 Answers0