I am trying to use SAML token and signatures with my GET request using RestTemplate. I have two paramters that needs to go with every request - Token and Signature. For example, my request is:
WIth Token and SIgnature, it is like:
I am using RestTemplate to send the request as follows:
Without the token and signature, I can get it to work. However, after adding the authenticator and token and signature as request parameters in the handler method, I am not getting responses anymore. The response comes out as 500 Internal Server Error. My keysets at client and server sides are correct ones and I have written JUnit tests that pass successfully.
How can I resolve this?