HTTP/1.1 401 Unauthorized - thrown while connecting to RRC through http client
One answer
Hi, PLS check the Open Services for Lifecycle Collaboration Workshop for Java sample code ( example04.java ) in how to authenticate with the RM Server.
Comments
I use a Reportable Rest URL as shown below:
https://host:9443/rm/publish/resources?projectName=JKE%20Banking%20%28Requirements%20Management%29
My intension is to read all requirements belonging to JKE Banking using rest URL.
But this is giving me an HTTP/1.1 401 error with the following error message
Authentication error: Unable to respond to any of these challenges: {oauth=WWW-Authenticate: OAuth realm=https://host:9443/jts/oauth-authorize}
Note that I am doing this programmatically by using a java based HTTP client.
Hi Anjaly, Can you confirm whether you are doing the authentication as suggested in the example? Have you accessed any of the CLM servers before via the Java API?