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
Comments
Donald Nong
Apr 17 '17, 10:38 p.m.Jyothilekshmi S
Apr 18 '17, 12:13 a.m.