Renames realmKey to realmPublicKey for consistency (#4526)

This commit is contained in:
Bartek Andrzejczak 2017-10-04 08:29:09 +02:00 committed by Stian Thorgersen
parent 8e5db87b50
commit 8c7313f290
2 changed files with 6 additions and 6 deletions

View file

@ -58,7 +58,7 @@ public class KeycloakDeploymentBuilder {
if (resource == null) throw new RuntimeException("Must set 'resource' in config");
deployment.setResourceName(resource);
String realmKeyPem = adapterConfig.getRealmKey();
String realmKeyPem = adapterConfig.getRealmPublicKey();
if (realmKeyPem != null) {
PublicKey realmKey;
try {

View file

@ -31,7 +31,7 @@ public class BaseRealmConfig {
@JsonProperty("realm")
protected String realm;
@JsonProperty("realm-public-key")
protected String realmKey;
protected String realmPublicKey;
@JsonProperty("auth-server-url")
protected String authServerUrl;
@JsonProperty("ssl-required")
@ -53,12 +53,12 @@ public class BaseRealmConfig {
this.realm = realm;
}
public String getRealmKey() {
return realmKey;
public String getRealmPublicKey() {
return realmPublicKey;
}
public void setRealmKey(String realmKey) {
this.realmKey = realmKey;
public void setRealmPublicKey(String realmPublicKey) {
this.realmPublicKey = realmPublicKey;
}
public String getAuthServerUrl() {