How to get the current user's Password?
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
Hi Shashikant,
Thank you for your response.
Actually i am executing the following scm command in java client.
lscm login -r http://example.com/ -u username -P password
To execute this command i have retried repository uri and username from current repository. But i am unable to fetch the current logged in user password.
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?
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.
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.