keycloak-aplcache
Changes
examples/cordova/example-realm.json 6(+3 -3)
examples/cors/cors-realm.json 6(+3 -3)
examples/demo-template/testrealm.json 21(+10 -11)
examples/fuse/testrealm.json 17(+8 -9)
examples/kerberos/kerberosrealm.json 2(+1 -1)
examples/saml/testsaml.json 12(+6 -6)
Details
diff --git a/examples/admin-client/example-realm.json b/examples/admin-client/example-realm.json
index 2615e56..3317f48 100755
--- a/examples/admin-client/example-realm.json
+++ b/examples/admin-client/example-realm.json
@@ -17,12 +17,12 @@
"value": "password"
}
],
- "applicationRoles": {
+ "clientRoles": {
"realm-management": [ "realm-admin" ]
}
}
],
- "applications": [
+ "clients": [
{
"name": "examples-admin-client",
"enabled": true,
diff --git a/examples/basic-auth/basicauthrealm.json b/examples/basic-auth/basicauthrealm.json
index f6bac20..0ed1bf5 100644
--- a/examples/basic-auth/basicauthrealm.json
+++ b/examples/basic-auth/basicauthrealm.json
@@ -24,7 +24,7 @@
"value" : "password" }
],
"realmRoles": [ "user","admin" ],
- "applicationRoles": {
+ "clientRoles": {
"realm-management": [ "realm-admin" ]
}
}
@@ -41,7 +41,7 @@
}
]
},
- "applications": [
+ "clients": [
{
"name": "basic-auth-service",
"enabled": true,
diff --git a/examples/broker/facebook-authentication/facebook-identity-provider-realm.json b/examples/broker/facebook-authentication/facebook-identity-provider-realm.json
index 32a3704..cc8c636 100644
--- a/examples/broker/facebook-authentication/facebook-identity-provider-realm.json
+++ b/examples/broker/facebook-authentication/facebook-identity-provider-realm.json
@@ -17,7 +17,7 @@
"value" : "password" }
],
"realmRoles": [ "user","admin" ],
- "applicationRoles": {
+ "clientRoles": {
"realm-management": [ "realm-admin" ]
}
}
@@ -30,7 +30,7 @@
}
]
},
- "applications": [
+ "clients": [
{
"name": "facebook-authentication",
"enabled": true,
diff --git a/examples/broker/google-authentication/google-identity-provider-realm.json b/examples/broker/google-authentication/google-identity-provider-realm.json
index 8b4deef..a721e34 100644
--- a/examples/broker/google-authentication/google-identity-provider-realm.json
+++ b/examples/broker/google-authentication/google-identity-provider-realm.json
@@ -17,7 +17,7 @@
"value" : "password" }
],
"realmRoles": [ "user","admin" ],
- "applicationRoles": {
+ "clientRoles": {
"realm-management": [ "realm-admin" ]
}
}
@@ -30,7 +30,7 @@
}
]
},
- "applications": [
+ "clients": [
{
"name": "google-authentication",
"enabled": true,
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 f8fbc8a..ad757ab 100644
--- a/examples/broker/saml-broker-authentication/saml-broker-authentication-realm.json
+++ b/examples/broker/saml-broker-authentication/saml-broker-authentication-realm.json
@@ -17,7 +17,7 @@
"value" : "password" }
],
"realmRoles": [ "user","admin" ],
- "applicationRoles": {
+ "clientRoles": {
"realm-management": [ "realm-admin" ]
}
}
@@ -30,7 +30,7 @@
}
]
},
- "applications": [
+ "clients": [
{
"name": "saml-broker-authentication",
"enabled": true,
diff --git a/examples/broker/saml-broker-authentication/saml-broker-realm.json b/examples/broker/saml-broker-authentication/saml-broker-realm.json
index 7f1cde0..8d0bad4 100644
--- a/examples/broker/saml-broker-authentication/saml-broker-realm.json
+++ b/examples/broker/saml-broker-authentication/saml-broker-realm.json
@@ -26,7 +26,7 @@
}
]
},
- "applications": [
+ "clients": [
{
"name": "http://localhost:8080/auth/realms/saml-broker-authentication-realm",
"protocol": "saml",
diff --git a/examples/broker/twitter-authentication/twitter-identity-provider-realm.json b/examples/broker/twitter-authentication/twitter-identity-provider-realm.json
index 4b70904..f9add02 100644
--- a/examples/broker/twitter-authentication/twitter-identity-provider-realm.json
+++ b/examples/broker/twitter-authentication/twitter-identity-provider-realm.json
@@ -18,7 +18,7 @@
"value" : "password" }
],
"realmRoles": [ "user","admin" ],
- "applicationRoles": {
+ "clientRoles": {
"realm-management": [ "realm-admin" ]
}
}
@@ -31,7 +31,7 @@
}
]
},
- "applications": [
+ "clients": [
{
"name": "twitter-authentication",
"enabled": true,
examples/cordova/example-realm.json 6(+3 -3)
diff --git a/examples/cordova/example-realm.json b/examples/cordova/example-realm.json
index f0d6ad2..d07a5d3 100755
--- a/examples/cordova/example-realm.json
+++ b/examples/cordova/example-realm.json
@@ -18,7 +18,7 @@
"value" : "password" }
],
"realmRoles": [ "user" ],
- "applicationRoles": {
+ "clientRoles": {
"account": ["view-profile", "manage-account"]
}
}
@@ -41,7 +41,7 @@
"roles": ["user"]
}
],
- "applications": [
+ "clients": [
{
"name": "cordova",
"enabled": true,
@@ -50,7 +50,7 @@
"webOrigins": ["localhost"]
}
],
- "applicationScopeMappings": {
+ "clientScopeMappings": {
"account": [
{
"client": "cordova",
examples/cors/cors-realm.json 6(+3 -3)
diff --git a/examples/cors/cors-realm.json b/examples/cors/cors-realm.json
index ab08ee3..9e59580 100755
--- a/examples/cors/cors-realm.json
+++ b/examples/cors/cors-realm.json
@@ -23,7 +23,7 @@
"value" : "password" }
],
"realmRoles": [ "user" ],
- "applicationRoles": {
+ "clientRoles": {
"realm-management": [ "realm-admin" ]
}
}
@@ -42,7 +42,7 @@
"roles": ["user"]
}
],
- "applications": [
+ "clients": [
{
"name": "angular-cors-product",
"enabled": true,
@@ -56,7 +56,7 @@
]
}
],
- "applicationScopeMappings": {
+ "clientScopeMappings": {
"realm-management": [
{
"client": "angular-cors-product",
examples/demo-template/testrealm.json 21(+10 -11)
diff --git a/examples/demo-template/testrealm.json b/examples/demo-template/testrealm.json
index 031e20b..4b4d669 100755
--- a/examples/demo-template/testrealm.json
+++ b/examples/demo-template/testrealm.json
@@ -24,7 +24,7 @@
"value" : "password" }
],
"realmRoles": [ "user" ],
- "applicationRoles": {
+ "clientRoles": {
"account": [ "manage-account" ]
}
},
@@ -39,7 +39,7 @@
"value" : "password" }
],
"realmRoles": [ "user" ],
- "applicationRoles": {
+ "clientRoles": {
"account": [ "manage-account" ]
}
},
@@ -54,7 +54,7 @@
"value" : "password" }
],
"realmRoles": [ "user" ],
- "applicationRoles": {
+ "clientRoles": {
"account": [ "manage-account" ]
}
},
@@ -69,7 +69,7 @@
"value" : "password" }
],
"realmRoles": [ "user","admin" ],
- "applicationRoles": {
+ "clientRoles": {
"realm-management": [ "realm-admin" ]
}
}
@@ -92,7 +92,7 @@
"roles": ["user"]
}
],
- "applications": [
+ "clients": [
{
"name": "customer-portal",
"enabled": true,
@@ -146,12 +146,11 @@
"adminUrl": "/database",
"baseUrl": "/database",
"bearerOnly": true
- }
- ],
- "oauthClients": [
+ },
{
"name": "third-party",
"enabled": true,
+ "consentRequired": true,
"redirectUris": [
"/oauth-client/*",
"/oauth-client-cdi/*"
@@ -162,11 +161,11 @@
"name": "admin-client",
"enabled": true,
"publicClient": true,
- "directGrantsOnly": true
-
+ "directGrantsOnly": true,
+ "consentRequired": true
}
],
- "applicationScopeMappings": {
+ "clientScopeMappings": {
"realm-management": [
{
"client": "admin-client",
examples/fuse/testrealm.json 17(+8 -9)
diff --git a/examples/fuse/testrealm.json b/examples/fuse/testrealm.json
index 9ec73f9..d474e66 100644
--- a/examples/fuse/testrealm.json
+++ b/examples/fuse/testrealm.json
@@ -24,7 +24,7 @@
"value" : "password" }
],
"realmRoles": [ "user" ],
- "applicationRoles": {
+ "clientRoles": {
"account": [ "manage-account" ]
}
},
@@ -39,7 +39,7 @@
"value" : "password" }
],
"realmRoles": [ "user" ],
- "applicationRoles": {
+ "clientRoles": {
"account": [ "manage-account" ]
}
},
@@ -54,7 +54,7 @@
"value" : "password" }
],
"realmRoles": [ "user" ],
- "applicationRoles": {
+ "clientRoles": {
"account": [ "manage-account" ]
}
},
@@ -69,7 +69,7 @@
"value" : "password" }
],
"realmRoles": [ "user","admin" ],
- "applicationRoles": {
+ "clientRoles": {
"realm-management": [ "realm-admin" ]
}
},
@@ -84,7 +84,7 @@
"value" : "password" }
],
"realmRoles": [ "user", "jmxAdmin" ],
- "applicationRoles": {
+ "clientRoles": {
"account": [ "manage-account" ],
"realm-management": [ "realm-admin" ]
}
@@ -134,7 +134,7 @@
}
]
},
- "applications": [
+ "clients": [
{
"name": "customer-portal",
"enabled": true,
@@ -178,14 +178,13 @@
"adminUrl": "http://localhost:8383/admin-camel-endpoint",
"baseUrl": "http://localhost:8383/admin-camel-endpoint",
"bearerOnly": true
- }
- ],
- "oauthClients": [
+ },
{
"name": "ssh-jmx-admin-client",
"enabled": true,
"publicClient": false,
"directGrantsOnly": true,
+ "consentRequired": true,
"secret": "password"
}
],
diff --git a/examples/js-console/example-realm.json b/examples/js-console/example-realm.json
index ddbb6ea..81c92aa 100755
--- a/examples/js-console/example-realm.json
+++ b/examples/js-console/example-realm.json
@@ -18,7 +18,7 @@
"value" : "password" }
],
"realmRoles": [ "user" ],
- "applicationRoles": {
+ "clientRoles": {
"account": ["view-profile", "manage-account"]
}
}
@@ -41,7 +41,7 @@
"roles": ["user"]
}
],
- "applications": [
+ "clients": [
{
"name": "js-console",
"enabled": true,
@@ -53,7 +53,7 @@
"webOrigins": []
}
],
- "applicationScopeMappings": {
+ "clientScopeMappings": {
"account": [
{
"client": "js-console",
examples/kerberos/kerberosrealm.json 2(+1 -1)
diff --git a/examples/kerberos/kerberosrealm.json b/examples/kerberos/kerberosrealm.json
index 4339e36..006961c 100644
--- a/examples/kerberos/kerberosrealm.json
+++ b/examples/kerberos/kerberosrealm.json
@@ -13,7 +13,7 @@
"roles": [ "user" ]
}
],
- "applications": [
+ "clients": [
{
"name": "kerberos-app",
"enabled": true,
diff --git a/examples/multi-tenant/tenant1-realm.json b/examples/multi-tenant/tenant1-realm.json
index e7a9cc9..e759b12 100644
--- a/examples/multi-tenant/tenant1-realm.json
+++ b/examples/multi-tenant/tenant1-realm.json
@@ -20,7 +20,7 @@
"value" : "user-tenant1" }
],
"realmRoles": [ "user" ],
- "applicationRoles": {
+ "clientRoles": {
"multi-tenant": [ "user" ]
}
}
@@ -40,7 +40,7 @@
}
],
- "applications": [
+ "clients": [
{
"name": "multi-tenant",
"enabled": true,
diff --git a/examples/multi-tenant/tenant2-realm.json b/examples/multi-tenant/tenant2-realm.json
index d628b73..2cd0e61 100644
--- a/examples/multi-tenant/tenant2-realm.json
+++ b/examples/multi-tenant/tenant2-realm.json
@@ -21,7 +21,7 @@
"value" : "user-tenant2" }
],
"realmRoles": [ "user" ],
- "applicationRoles": {
+ "clientRoles": {
"multi-tenant": [ "user" ]
}
}
@@ -41,9 +41,9 @@
}
],
- "applications": [
+ "clients": [
{
- "name": "multi-tenant",
+ "clientId": "multi-tenant",
"enabled": true,
"adminUrl": "/multitenant/tenant2",
"baseUrl": "/multitenant/tenant2",
examples/saml/testsaml.json 12(+6 -6)
diff --git a/examples/saml/testsaml.json b/examples/saml/testsaml.json
index b7f66af..7cf4a8e 100755
--- a/examples/saml/testsaml.json
+++ b/examples/saml/testsaml.json
@@ -25,9 +25,9 @@
"realmRoles": ["manager"]
}
],
- "applications": [
+ "clients": [
{
- "name": "http://localhost:8080/sales-post/",
+ "clientId": "http://localhost:8080/sales-post/",
"enabled": true,
"fullScopeAllowed": true,
"protocol": "saml",
@@ -41,7 +41,7 @@
}
},
{
- "name": "http://localhost:8080/sales-post-sig/",
+ "clientId": "http://localhost:8080/sales-post-sig/",
"enabled": true,
"protocol": "saml",
"fullScopeAllowed": true,
@@ -60,7 +60,7 @@
}
},
{
- "name": "http://localhost:8080/sales-post-enc/",
+ "clientId": "http://localhost:8080/sales-post-enc/",
"enabled": true,
"protocol": "saml",
"fullScopeAllowed": true,
@@ -82,7 +82,7 @@
}
},
{
- "name": "http://localhost:8080/employee/",
+ "clientId": "http://localhost:8080/employee/",
"enabled": true,
"fullScopeAllowed": true,
"protocol": "saml",
@@ -96,7 +96,7 @@
}
},
{
- "name": "http://localhost:8080/employee-sig/",
+ "clientId": "http://localhost:8080/employee-sig/",
"enabled": true,
"protocol": "saml",
"fullScopeAllowed": true,