[keycloak-user] Keycloak 8: CredentialRepresentation algorithm

Leonid Rozenblyum lrozenblyum at gmail.com
Mon Nov 18 03:45:40 EST 2019


Hello!
Before Keycloak 8.0.0 it was possible to
use org.keycloak.representations.idm.CredentialRepresentation methods
setAlgorithm
setHashedSaltedValue

in order to support import from a legacy storage with some custom algorithm
not supported by Keycloak.

During https://github.com/keycloak/keycloak/pull/6459 those methods were
removed, fields were deprecated.
What's the correct way to provide Credentials for a user with some custom
algorithm right now?
Thanks for explanation.


More information about the keycloak-user mailing list