0

Possible Duplicate:
Spring Security Authentication using RestTemplate

I can use Spring RESTTemplate to get data from a URL. However I want to reach an https URL that needs authentication(I have a username and password).

How can I use RESTTemplate with authentication?

EDIT: I want to connect an https URL and it is coded at another language and different system that I have.

PS: If there exist any good RESTTemplate examples and RESTTemplate with authentication examples (I use json and jackson at my application) and you suggest, you are welcome.

Community
  • 1
  • 1
kamaci
  • 69,365
  • 67
  • 217
  • 352

0 Answers0