Hi, I am building an Java project to consume ALM service.
First, I send out a request (http://****/qcbin/rest/is-authenticated)
without any username and password in request header, getting 401 if not authorized. Make sense though.
Second, try new authentication url with request header: "Authorization : Basic e41QnJpYW4xMW48QnJpYW4bMjM= "
http://*******//qcbin/authentication-point/authenticate
get 200 status code:
LWSSO_COOKIE_KEY=2Syav17g0ejJX1wgjepVRRROzvNYM8UR1cXou0rzBBKPSvTARSZ70-0niYUafDkZz116PytGQamYeP_P4LoHUvgQAYdXjq48kf00Zu8FyuRXyPqRSKoo-5Y5wmR5JyhgESyqLmcn9lEKrgsR9nVXuOiGPDXW_VrckYggP0hVS1RVLluaFy0NkAu6EXy0UxNkCP_deEWu1C93punhmzF68YH0E.zoPWi4tRNH25qxo5r
3rd request with request header(credential and LWSSO_COOKIE_KEY):
http://****/qcbin/rest/domains/****/projects/*****/defects
with Authorization and LWSSO_COOKIE_KEY=........
get 401: ????
I did similar process in webbrowser and I could get data from the server.
Could anybody explain why I am authorized, but could not retrieve data from the rest call to ALM server, and getting 401 unauthorized status code? I'm using ALM 11, could be some problem with ALM version. for example, the new version has some server restrictions that could not let unknown client access?