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.
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).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.