[keycloak-user] Password algorithm into Keycloak
Stian Thorgersen
sthorger at redhat.com
Wed Jul 20 02:09:49 EDT 2016
You can import users via the rest API or import from JSON. For import from
JSON you have to options either partial import in the admin console or
import at startup [1].
In either case you have to implement a bcrypt password hashing provider.
There's no documentation for this yet, but you'd need to implement a
provider for PasswordHashProvider [2]. There's general docs for
implementing a custom provider though [3].
[1]
https://keycloak.gitbooks.io/server-adminstration-guide/content/topics/export-import.html
[2]
https://github.com/keycloak/keycloak/blob/master/server-spi/src/main/java/org/keycloak/hash/PasswordHashProvider.java
[3]
https://keycloak.gitbooks.io/server-developer-guide/content/topics/providers.html
On 19 July 2016 at 21:05, Richard Lavallee <rllavallee at hotmail.com> wrote:
> Is it feasible to import username and hashed-password strings to Keycloak
> in one batch? Must I migrate the bcrypt algorithm we use along with it
> onto Keycloak somehow? Looking for guidance/documentation for doing such
> please.
>
> -Richard
>
>
> _______________________________________________
> keycloak-user mailing list
> keycloak-user at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/keycloak-user
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/keycloak-user/attachments/20160720/697622b2/attachment.html
More information about the keycloak-user
mailing list