KEYCLOAK-6067 Allow http for performance testsuite realms

This commit is contained in:
Hynek Mlnarik 2017-12-19 16:04:58 +01:00 committed by Hynek Mlnařík
parent f0c5752ef9
commit 0f047ac9f5

View file

@ -210,6 +210,7 @@ public class RealmsConfigurationBuilder {
g.writeStringField("realm", realmName); g.writeStringField("realm", realmName);
g.writeBooleanField("enabled", true); g.writeBooleanField("enabled", true);
g.writeNumberField("accessTokenLifespan", conf.accessTokenLifeSpan); g.writeNumberField("accessTokenLifespan", conf.accessTokenLifeSpan);
g.writeStringField("sslRequired", "none");
g.writeBooleanField("registrationAllowed", conf.registrationAllowed); g.writeBooleanField("registrationAllowed", conf.registrationAllowed);
g.writeStringField("passwordPolicy", "hashIterations(" + TestConfig.hashIterations + ")"); g.writeStringField("passwordPolicy", "hashIterations(" + TestConfig.hashIterations + ")");