Hello, I hava a problem with java api
I want to get username and password of current login
I use ComponentAccessor.getJiraAuthenticationContext().getLoggedInUser(). It just gets the username, can't get the password
Jira's APIs are not designed to be able to provide you with an account's password. Check out @Andy Brook [Plugin People] 's response on a related thread: https://community.atlassian.com/t5/Answers-Developer-Questions/How-to-get-the-logged-in-user-s-password-for-integration-purpose/qaq-p/479853
No there isnt. Passwords are one-way hashed, it would be pretty poor if it were exposed...
some background on hashing is:
https://developer.atlassian.com/display/CONFDEV/Password+Hash+Algorithm
and
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.