Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

Java code working well in DNG 6.0.2 rest api not wroking in 6.0.3

  Hi,


I have a piece of code which is authenticating to DNG and getting all project areas. This is working fine in DNG 6.02, but filing in 6.0.3. The authentication is working fine and getting the Lpta token. But while accessing /process/project-areas 


Response from auth code HTTP/1.1 302 Found [Date: Mon, 17 Apr 2017 17:52:52 GMT, X-Powered-By: Servlet/3.0, Location: https://server/jts/secure/authenticated/identity?redirectPath=%2Fjts%2Foauth-authorize%3Foauth_token%3D909fce12343u679db8ac58c3656fe5f25, Content-Length: 0, Set-Cookie: WASReqURL=""; Expires=Thu, 01-Dec-94 16:00:00 GMT; Path=/; Secure; HttpOnly, Set-Cookie: LtpaToken2=CL1knLjJs2ugB013e+Pvv6utOBN/Bhj99+w9lYVOxfMl+76SsDlzg/NG22vJwavHc0xGI+L3y9YnkCytc5QQcJf7iS5huDHvHy+03cRLpKLUA3iC35jOdqwYJOKJfs25sp15bqFY2+nlHi0QZk+Q5MTU3UDo7a3UkoV0if/rMKDGLUA0klIG4TPDfEeu+I8DCBMcuxeelPzb2jZz38qKYBH21vv5n00VUcGbe6J6zhYAQHNZ8sCGWZo8W6YqQuA1zv2mbJnPSD05Tct9qyKfJ7rU3U6W/CPx+XtMWbmjounVJa79SNBY1+lvs/kHOeE99JxsdPJzPIiNyZtRy+wIb1ENapb6fLZ5BrRtbBjMbqOEUXSOTrKha3oCW8mep91/zS2qTWawU4XwyyJ+NSKTR4AiqgjH0j6bh4XVd08DY+c2giUNpvszEBREvnUJ72A4Prd81/rRdi6GSsJFz96ufPGi6sSX/Yx9sM9C1MEjiP0be/hQ1vTWEWn+Jw1HPKEYdFasWTsth2TOFOKmX9J4I/E41Qj6Hk0XE53TCRIHDArCkdNNWtWzj68JGR0wITcdTqajPxWzivhHX99CWQHCSd7x6z4QKla6sOFT0kIQrJR11LZc0KTRffD/jAGkkP6tslSeWQXc5rvUxMyUBttCyCbP39Y4sKjAsgPVu5u2TcUZdfRktxZ56o9BGGe2t4H06lt+1jhmVoekvO8Cnf0j5tVBnIiKQzidlY/Vs7y0tC6heqZUDTYvEUA43MYGYrxJqhgcBU/73WYwuznTshPhDXg==; Path=/; Secure; HttpOnly, Expires: Thu, 01 Dec 1994 16:00:00 GMT, Cache-Control: no-cache="set-cookie, set-cookie2", Keep-Alive: timeout=10, max=100, Connection: Keep-Alive, Content-Language: en-US]

response from the get call : HTTP/1.1 200 OK [Date: Mon, 17 Apr 2017 17:53:54 GMT, X-Powered-By: Servlet/3.0, X-com-ibm-team-repository-web-auth-msg: authrequired, Set-Cookie: JazzFormAuth=Form; Path=/jts; Secure, Expires: Thu, 01 Dec 1994 16:00:00 GMT, Cache-Control: no-cache="set-cookie, set-cookie2", Keep-Alive: timeout=10, max=97, Connection: Keep-Alive, Transfer-Encoding: chunked, Content-Type: text/html; charset=UTF-8, Content-Language: en-US]

Please advise.

Thanks

0 votes

Comments

You didn't even say where did it fail. The response looks normal if you have not authenticated. No one else except yourself knows what your "auth code" does.

  It is failing when I try the the get call on /process/project-areas. Its returning  X-com-ibm-team-repository-web-auth-msg: authrequired after authentication



One answer

Permanent link

 It is failing when I try the the get call on /process/project-areas. Its returning  X-com-ibm-team-repository-web-auth-msg: authrequired after authentication

0 votes

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 11,085

Question asked: Apr 17 '17, 2:01 p.m.

Question was seen: 4,462 times

Last updated: Apr 18 '17, 12:13 a.m.

Confirmation Cancel Confirm