diff --git a/core/src/main/java/org/keycloak/representations/idm/ResourceRepresentation.java b/core/src/main/java/org/keycloak/representations/idm/ResourceRepresentation.java index 9a0930266b..6cf9de6a79 100755 --- a/core/src/main/java/org/keycloak/representations/idm/ResourceRepresentation.java +++ b/core/src/main/java/org/keycloak/representations/idm/ResourceRepresentation.java @@ -11,6 +11,7 @@ import java.util.Set; */ public class ResourceRepresentation { protected String self; // link + protected String id; protected String name; protected String adminUrl; protected boolean surrogateAuthRequired; @@ -29,6 +30,14 @@ public class ResourceRepresentation { this.self = self; } + public String getId() { + return id; + } + + public void setId(String id) { + this.id = id; + } + public String getName() { return name; } diff --git a/examples/as7-eap-demo/server/src/main/resources/META-INF/testrealm.json b/examples/as7-eap-demo/server/src/main/resources/META-INF/testrealm.json index a1500d1d0e..642af04a29 100755 --- a/examples/as7-eap-demo/server/src/main/resources/META-INF/testrealm.json +++ b/examples/as7-eap-demo/server/src/main/resources/META-INF/testrealm.json @@ -72,6 +72,7 @@ "resources" : [ { "name" : "customer-portal", + "enabled" : true, "adminUrl" : "http://localhost:8080/customer-portal/j_admin_request", "useRealmMappings" : true, "credentials" : [ @@ -81,6 +82,7 @@ }, { "name" : "product-portal", + "enabled" : true, "adminUrl" : "http://localhost:8080/product-portal/j_admin_request", "useRealmMappings" : true, "credentials" : [ diff --git a/examples/as7-eap-demo/server/src/main/webapp/saas/saas-login.jsp b/examples/as7-eap-demo/server/src/main/webapp/saas/saas-login.jsp index a646dee3e9..e11fc81dfb 100755 --- a/examples/as7-eap-demo/server/src/main/webapp/saas/saas-login.jsp +++ b/examples/as7-eap-demo/server/src/main/webapp/saas/saas-login.jsp @@ -67,7 +67,7 @@

Info area

-

Does not have an account? Register.

+

Does not have an account? Register.