RTC 6.0: How to get log-in user password in RTC Eclipse client
I able to get the repository URL, username from the user login in RTC Eclipse client but i need password as well to use all these properties in my custom plugin that will fetch data from DNG. can anyone help let me know how to get the password or some other way to get session object and use it in DNG login ?. Thanks in advance.
|
Accepted answer
No Ralph, It is possible. Thanks to my colleague Nilesh.
ITeamRepository teamRepositoy[] = TeamPlatform.getTeamRepositoryService().getTeamRepositories(); ITeamRepository currentRepository = teamRepositoy[0]; UsernameAndPasswordLoginInfo loginInfo = (UsernameAndPasswordLoginInfo) currentRepository.getLoginInfo(); System.out.println(loginInfo.getPassword()); Ralph Schoon selected this answer as the correct answer
|
One other answer
Ralph Schoon (63.5k●3●36●46)
| answered Jan 22 '16, 2:53 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER edited Jan 22 '16, 2:53 a.m.
I am pretty sure you can't get the password. It is likely not stored anywhere, as that would be a security threat.
|
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.