Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,553,397
Community Members
 
Community Events
184
Community Groups

[Crowd client] how to get list crowd user include password field value?

Hi guys,

 

I am using Crowd client java library. Now I need to import users from Crowd server to other application.

But when I get list of user by using searchUsers function, it return a list of user without password.

Is there any way to get list of user include password field?

 

Thanks in advance.

1 answer

1 accepted

0 votes
Answer accepted
Bruno Vincent
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
Dec 21, 2017

Hi @tai nguyen

As far as I know, no you can't, at least with the usual API. If you actually try to retrieve the password hash with Crowd REST API with a simple GET on

http://localhost:8095/crowd/rest/usermanagement/1/user/password?username=test

You will get a 405 response code (Method not allowed). The password field is actually write-only here.

The only way I see to get the password hash of your users is to go to Crowd's console > General > Backup. This will export everything in Crowd's database including your users passwords hashes (if we're talking about an internal directory, you could obviously not get them for remote directories).

I got it.

Thank you so much for the answer.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events