Authentication to a application built on JAF
One answer
http://www.ibm.com/developerworks/rational/library/10/programmatic-authentication-and-certificate-handling-for-rational-team-concert-2-0/
Comments
Hi Donald, I had read the above article and the form-based authentication is working perfectly fine for any RTC that I tested. The issue I get is for an application built with JAF. So question is more on the response that I get for "https://localhost:9445/jazz/authenticated/Identity".
The response has Path="/jts" and X-com-ibm-team-repository-web-auth-msg: authrequired. Does this means that the authentication need to be delegated to "jts"?. If that is the case , where will I get the URL of the JTS?
I didn't really notice the "path=/jts" cookie when I tested with Perl. After you get the "X-com-ibm-team-repository-web-auth-msg: authrequired" header, you can simply POST "j_username:your_account" and "j_password:password" to https://<host>:<port>/jazz/j_security_check, and expect an HTTP 302 return code everything goes fine (same logic as mentioned in the article). Have you tried that?
Yes. I tried that too. It always get me the following response :