KEYCLOAK-3481 (#4441)
This commit is contained in:
parent
433a8dd2e3
commit
d3dc26181e
2 changed files with 0 additions and 12 deletions
|
@ -39,9 +39,6 @@ public class PublishedRealmRepresentation {
|
|||
@JsonProperty("account-service")
|
||||
protected String accountServiceUrl;
|
||||
|
||||
@JsonProperty("admin-api")
|
||||
protected String adminApiUrl;
|
||||
|
||||
@JsonProperty("tokens-not-before")
|
||||
protected int notBefore;
|
||||
|
||||
|
@ -101,14 +98,6 @@ public class PublishedRealmRepresentation {
|
|||
this.accountServiceUrl = accountServiceUrl;
|
||||
}
|
||||
|
||||
public String getAdminApiUrl() {
|
||||
return adminApiUrl;
|
||||
}
|
||||
|
||||
public void setAdminApiUrl(String adminApiUrl) {
|
||||
this.adminApiUrl = adminApiUrl;
|
||||
}
|
||||
|
||||
public int getNotBefore() {
|
||||
return notBefore;
|
||||
}
|
||||
|
|
|
@ -93,7 +93,6 @@ public class PublicRealmResource {
|
|||
rep.setRealm(realm.getName());
|
||||
rep.setTokenServiceUrl(OIDCLoginProtocolService.tokenServiceBaseUrl(uriInfo).build(realm.getName()).toString());
|
||||
rep.setAccountServiceUrl(AccountFormService.accountServiceBaseUrl(uriInfo).build(realm.getName()).toString());
|
||||
rep.setAdminApiUrl(uriInfo.getBaseUriBuilder().path(AdminRoot.class).build().toString());
|
||||
rep.setPublicKeyPem(PemUtils.encodeKey(session.keys().getActiveRsaKey(realm).getPublicKey()));
|
||||
rep.setNotBefore(realm.getNotBefore());
|
||||
return rep;
|
||||
|
|
Loading…
Reference in a new issue