Revert changes in KEYCLOAK-5621 (#4539)

This commit is contained in:
Stian Thorgersen authored and GitHub committed 2017-10-06 14:02:34 +02:00
1 parent 00ddf03ad3
commit 7774d5c6b8
2 files changed
+6 -6

No files matched your search

@@ -58,7 +58,7 @@ public class KeycloakDeploymentBuilder {
if (resource == null) throw new RuntimeException("Must set 'resource' in config");
deployment.setResourceName(resource);
String realmKeyPem = adapterConfig.getRealmPublicKey();
String realmKeyPem = adapterConfig.getRealmKey();
if (realmKeyPem != null) {
PublicKey realmKey;
try {
@@ -31,7 +31,7 @@ public class BaseRealmConfig {
@JsonProperty("realm")
protected String realm;
@JsonProperty("realm-public-key")
protected String realmPublicKey;
protected String realmKey;
@JsonProperty("auth-server-url")
protected String authServerUrl;
@JsonProperty("ssl-required")
@@ -53,12 +53,12 @@ public class BaseRealmConfig {
this.realm = realm;
}
public String getRealmPublicKey() {
return realmPublicKey;
public String getRealmKey() {
return realmKey;
}
public void setRealmPublicKey(String realmPublicKey) {
this.realmPublicKey = realmPublicKey;
public void setRealmKey(String realmKey) {
this.realmKey = realmKey;
}
public String getAuthServerUrl() {