Initialize CryptoIntegration before loading adapter config

Initialize CryptoIntegration before building KeycloakDeploymentBuilder, same way as in public static KeycloakDeployment build(InputStream is) method

Closes #15767
This commit is contained in:
Rafał Gała 2022-11-30 13:35:24 +01:00 committed by Marek Posolda
parent 7a0ad6ff21
commit b7d7268744

View file

@ -201,6 +201,7 @@ public class KeycloakDeploymentBuilder {
public static KeycloakDeployment build(AdapterConfig adapterConfig) {
CryptoIntegration.init(KeycloakDeploymentBuilder.class.getClassLoader());
return new KeycloakDeploymentBuilder().internalBuild(adapterConfig);
}