How to get the current user's Password?
Hi,
i am using lscm command in RTC client plugin using java. its require to login using lscm login command. Since i want to get current user's password for this process. is it possible in rtc java client?. Please advice on this. Regards, Pugazh S |
2 answers
There is no way to retrieve the user password from any RTC Client. If you have forgotten your password, you need to contact your administrator to reset your password.
Comments
pugazhenthi samidurai
commented Dec 14 '12, 12:29 a.m.
Hi Shashikant,
Sorry, I do not understand the statement... "i am unable to fetch the current logged in user password"
I am assuming you are unable to login given the repository uri, username and password. What is the error that you are seeing? Are you able to login using the same credentials using the Eclipse client/Web client?
|
Ralph Schoon (63.5k●3●36●46)
| answered Dec 14 '12, 9:47 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
This might be relevant to you: https://jazz.net/forum/questions/96204/retrieve-username-and-password-of-the-current-modifier-of-wi
As far as I can tell, you have to provide the credentials using whatever way available (passwordfile, hard coded password). You can not - at least not by any jazz API retrieve the password for a user. I doubt even LDAP or Tomcat would allow that. It is just a serious security leak if anybody would deliberately allow this to happen. So, you have to provide the username and the password when calling the operation. This is effort, but there is no other mechanism. Some people hardcode passwords in scripts protected by read access restrictions to admins, use crypted password files to store them or use other crypted stores (which again need a password and a username) to retrieve some data. For SCM/LSCM and build, RTC uses a technical user e.g. build, where the password is then stored in the build script, if that requires it or a password file or whatever. Users building delegate to the build system. All artifacts the build needs, need to be public, otherwise the build will fail. If the build uses a repository workspace of a build user that is member of the team, it can access the public SCM data of other team members. |
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.