Revert changes in KEYCLOAK-5621 (#4539)

This commit is contained in:
Stian Thorgersen 2017-10-06 14:02:34 +02:00 committed by GitHub
parent 00ddf03ad3
commit 7774d5c6b8
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.getRealmPublicKey();
String realmKeyPem = adapterConfig.getRealmKey();
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 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() {