From f6631a61638803a767184be12fad531785ad8c17 Mon Sep 17 00:00:00 2001 From: Stian Thorgersen Date: Tue, 14 Apr 2015 09:28:05 +0200 Subject: [PATCH] KEYCLOAK-1187 --- examples/admin-client/example-realm.json | 2 +- examples/basic-auth/basicauthrealm.json | 2 +- .../facebook-identity-provider-realm.json | 2 +- .../google-identity-provider-realm.json | 2 +- .../saml-broker-authentication-realm.json | 2 +- .../saml-broker-realm.json | 2 +- .../twitter-identity-provider-realm.json | 4 ++-- examples/cordova/example-realm.json | 2 +- examples/cors/cors-realm.json | 2 +- examples/demo-template/testrealm.json | 16 ++++++++-------- examples/fuse/testrealm.json | 14 +++++++------- examples/js-console/example-realm.json | 2 +- examples/kerberos/kerberosrealm.json | 4 ++-- examples/multi-tenant/tenant1-realm.json | 2 +- 14 files changed, 29 insertions(+), 29 deletions(-) diff --git a/examples/admin-client/example-realm.json b/examples/admin-client/example-realm.json index 3317f48f76..3ce2eaa5ed 100755 --- a/examples/admin-client/example-realm.json +++ b/examples/admin-client/example-realm.json @@ -24,7 +24,7 @@ ], "clients": [ { - "name": "examples-admin-client", + "clientId": "examples-admin-client", "enabled": true, "fullScopeAllowed": true, "baseUrl": "/examples-admin-client", diff --git a/examples/basic-auth/basicauthrealm.json b/examples/basic-auth/basicauthrealm.json index 0ed1bf5606..b8b2acd20a 100644 --- a/examples/basic-auth/basicauthrealm.json +++ b/examples/basic-auth/basicauthrealm.json @@ -43,7 +43,7 @@ }, "clients": [ { - "name": "basic-auth-service", + "clientId": "basic-auth-service", "enabled": true, "adminUrl": "/basicauth", "baseUrl": "/basicauth", diff --git a/examples/broker/facebook-authentication/facebook-identity-provider-realm.json b/examples/broker/facebook-authentication/facebook-identity-provider-realm.json index cc8c636e63..580ab5a1db 100644 --- a/examples/broker/facebook-authentication/facebook-identity-provider-realm.json +++ b/examples/broker/facebook-authentication/facebook-identity-provider-realm.json @@ -32,7 +32,7 @@ }, "clients": [ { - "name": "facebook-authentication", + "clientId": "facebook-authentication", "enabled": true, "publicClient" : true, "adminUrl": "/facebook-authentication", diff --git a/examples/broker/google-authentication/google-identity-provider-realm.json b/examples/broker/google-authentication/google-identity-provider-realm.json index a721e34b13..7db619f0cc 100644 --- a/examples/broker/google-authentication/google-identity-provider-realm.json +++ b/examples/broker/google-authentication/google-identity-provider-realm.json @@ -32,7 +32,7 @@ }, "clients": [ { - "name": "google-authentication", + "clientId": "google-authentication", "enabled": true, "publicClient" : true, "adminUrl": "/google-authentication", diff --git a/examples/broker/saml-broker-authentication/saml-broker-authentication-realm.json b/examples/broker/saml-broker-authentication/saml-broker-authentication-realm.json index ad757ab414..dac9e28aed 100644 --- a/examples/broker/saml-broker-authentication/saml-broker-authentication-realm.json +++ b/examples/broker/saml-broker-authentication/saml-broker-authentication-realm.json @@ -32,7 +32,7 @@ }, "clients": [ { - "name": "saml-broker-authentication", + "clientId": "saml-broker-authentication", "enabled": true, "publicClient" : true, "adminUrl": "/saml-broker-authentication", diff --git a/examples/broker/saml-broker-authentication/saml-broker-realm.json b/examples/broker/saml-broker-authentication/saml-broker-realm.json index 8d0bad467b..7ac492b49f 100644 --- a/examples/broker/saml-broker-authentication/saml-broker-realm.json +++ b/examples/broker/saml-broker-authentication/saml-broker-realm.json @@ -28,7 +28,7 @@ }, "clients": [ { - "name": "http://localhost:8080/auth/realms/saml-broker-authentication-realm", + "clientId": "http://localhost:8080/auth/realms/saml-broker-authentication-realm", "protocol": "saml", "enabled": true, "redirectUris": [ diff --git a/examples/broker/twitter-authentication/twitter-identity-provider-realm.json b/examples/broker/twitter-authentication/twitter-identity-provider-realm.json index f9add02775..e4c94cb861 100644 --- a/examples/broker/twitter-authentication/twitter-identity-provider-realm.json +++ b/examples/broker/twitter-authentication/twitter-identity-provider-realm.json @@ -33,7 +33,7 @@ }, "clients": [ { - "name": "twitter-authentication", + "clientId": "twitter-authentication", "enabled": true, "publicClient" : true, "adminUrl": "/twitter-authentication", @@ -52,7 +52,7 @@ ] }, { - "name": "admin-client", + "clientId": "admin-client", "enabled": true, "fullScopeAllowed": true, "baseUrl": "/admin-client", diff --git a/examples/cordova/example-realm.json b/examples/cordova/example-realm.json index d07a5d38a9..13b2864190 100755 --- a/examples/cordova/example-realm.json +++ b/examples/cordova/example-realm.json @@ -43,7 +43,7 @@ ], "clients": [ { - "name": "cordova", + "clientId": "cordova", "enabled": true, "publicClient": true, "redirectUris": ["http://localhost"], diff --git a/examples/cors/cors-realm.json b/examples/cors/cors-realm.json index 9e59580675..05321fbaae 100755 --- a/examples/cors/cors-realm.json +++ b/examples/cors/cors-realm.json @@ -44,7 +44,7 @@ ], "clients": [ { - "name": "angular-cors-product", + "clientId": "angular-cors-product", "enabled": true, "publicClient": true, "baseUrl": "http://localhost:8080/angular-cors-product/index.html", diff --git a/examples/demo-template/testrealm.json b/examples/demo-template/testrealm.json index 4b4d669fd6..92643aab31 100755 --- a/examples/demo-template/testrealm.json +++ b/examples/demo-template/testrealm.json @@ -94,7 +94,7 @@ ], "clients": [ { - "name": "customer-portal", + "clientId": "customer-portal", "enabled": true, "adminUrl": "/customer-portal", "baseUrl": "/customer-portal", @@ -104,7 +104,7 @@ "secret": "password" }, { - "name": "customer-portal-js", + "clientId": "customer-portal-js", "enabled": true, "publicClient": true, "baseUrl": "/customer-portal-js", @@ -113,7 +113,7 @@ ] }, { - "name": "angular-product", + "clientId": "angular-product", "enabled": true, "publicClient": true, "baseUrl": "/angular-product/index.html", @@ -122,7 +122,7 @@ ] }, { - "name": "customer-portal-cli", + "clientId": "customer-portal-cli", "enabled": true, "publicClient": true, "redirectUris": [ @@ -131,7 +131,7 @@ ] }, { - "name": "product-portal", + "clientId": "product-portal", "enabled": true, "adminUrl": "/product-portal", "baseUrl": "/product-portal", @@ -141,14 +141,14 @@ "secret": "password" }, { - "name": "database-service", + "clientId": "database-service", "enabled": true, "adminUrl": "/database", "baseUrl": "/database", "bearerOnly": true }, { - "name": "third-party", + "clientId": "third-party", "enabled": true, "consentRequired": true, "redirectUris": [ @@ -158,7 +158,7 @@ "secret": "password" }, { - "name": "admin-client", + "clientId": "admin-client", "enabled": true, "publicClient": true, "directGrantsOnly": true, diff --git a/examples/fuse/testrealm.json b/examples/fuse/testrealm.json index d474e66de4..f1b21ee728 100644 --- a/examples/fuse/testrealm.json +++ b/examples/fuse/testrealm.json @@ -136,7 +136,7 @@ }, "clients": [ { - "name": "customer-portal", + "clientId": "customer-portal", "enabled": true, "adminUrl": "http://localhost:8181/customer-portal", "baseUrl": "http://localhost:8181/customer-portal", @@ -146,7 +146,7 @@ "secret": "password" }, { - "name": "product-portal", + "clientId": "product-portal", "enabled": true, "adminUrl": "http://localhost:8181/product-portal", "baseUrl": "http://localhost:8181/product-portal", @@ -156,7 +156,7 @@ "secret": "password" }, { - "name": "builtin-cxf-app", + "clientId": "builtin-cxf-app", "enabled": true, "adminUrl": "http://localhost:8181/cxf", "baseUrl": "http://localhost:8181/cxf", @@ -166,21 +166,21 @@ "secret": "password" }, { - "name": "custom-cxf-endpoint", + "clientId": "custom-cxf-endpoint", "enabled": true, "adminUrl": "http://localhost:8282/PersonServiceCF", "baseUrl": "http://localhost:8282/PersonServiceCF", "bearerOnly": true }, { - "name": "admin-camel-endpoint", + "clientId": "admin-camel-endpoint", "enabled": true, "adminUrl": "http://localhost:8383/admin-camel-endpoint", "baseUrl": "http://localhost:8383/admin-camel-endpoint", "bearerOnly": true }, { - "name": "ssh-jmx-admin-client", + "clientId": "ssh-jmx-admin-client", "enabled": true, "publicClient": false, "directGrantsOnly": true, @@ -194,4 +194,4 @@ "roles": [ "admin", "jmxAdmin" ] } ] -} \ No newline at end of file +} diff --git a/examples/js-console/example-realm.json b/examples/js-console/example-realm.json index 81c92aa1f5..260e9388aa 100755 --- a/examples/js-console/example-realm.json +++ b/examples/js-console/example-realm.json @@ -43,7 +43,7 @@ ], "clients": [ { - "name": "js-console", + "clientId": "js-console", "enabled": true, "publicClient": true, "baseUrl": "/js-console", diff --git a/examples/kerberos/kerberosrealm.json b/examples/kerberos/kerberosrealm.json index 006961ca0d..6b2b999fc7 100644 --- a/examples/kerberos/kerberosrealm.json +++ b/examples/kerberos/kerberosrealm.json @@ -15,7 +15,7 @@ ], "clients": [ { - "name": "kerberos-app", + "clientId": "kerberos-app", "enabled": true, "baseUrl": "/kerberos-portal", "redirectUris": [ @@ -91,4 +91,4 @@ } } ] -} \ No newline at end of file +} diff --git a/examples/multi-tenant/tenant1-realm.json b/examples/multi-tenant/tenant1-realm.json index e759b12644..8140b5127f 100644 --- a/examples/multi-tenant/tenant1-realm.json +++ b/examples/multi-tenant/tenant1-realm.json @@ -42,7 +42,7 @@ ], "clients": [ { - "name": "multi-tenant", + "clientId": "multi-tenant", "enabled": true, "adminUrl": "/multitenant/tenant1", "baseUrl": "/multitenant/tenant1",