Invalid username or password with plain java client API
Hi,
I developed an application in which I need to connect to the RTC. I tested the connection with a server install in localhost, no problem, I can connect me and see my project Areas.
Now I try to connect to the real server (not local) and I get the following error (AuthenticationException) CRJAZ20124I Ivalid username or password.
The error comes from (TeamRepository.class) :
internalLogin (new SubProgressMonitor (monitor, IprogressMonitor.UNKNOWN));
monitor.worked (1);
In my code I get well IteamRepository element from the repository URI (so there is an interaction with the server).
The code to authenticate me was recovered on the page https://jazz.net/library/article/1229
If you can help me
Regards
Jérémy
One answer
what userid and password do you use to connect to the production server?
the only time any of my plain java api code gets that error, I made a mistake with the userid or password
the accepted answer here has a utility of mine that dumps the contents of workitems returned for a saved query
https://jazz.net/forum/questions/94776/assertionfailedexception-problem-with-getting-the-values-of-attributes
the only time any of my plain java api code gets that error, I made a mistake with the userid or password
the accepted answer here has a utility of mine that dumps the contents of workitems returned for a saved query
https://jazz.net/forum/questions/94776/assertionfailedexception-problem-with-getting-the-values-of-attributes