From 947a2f0c2045a518c134d4ecdfdee6149e6bfb57 Mon Sep 17 00:00:00 2001 From: Bill Burke Date: Wed, 29 Apr 2015 09:47:56 -0400 Subject: [PATCH] READ_TOKEN -> read-token --- docbook/reference/en/en-US/modules/identity-broker.xml | 4 ++-- .../resources/partials/realm-identity-provider-oidc.html | 2 +- .../resources/partials/realm-identity-provider-saml.html | 2 +- .../resources/partials/realm-identity-provider-social.html | 2 +- model/api/src/main/java/org/keycloak/models/Constants.java | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/docbook/reference/en/en-US/modules/identity-broker.xml b/docbook/reference/en/en-US/modules/identity-broker.xml index 8d31ae4ebc3..16d25ee7084 100755 --- a/docbook/reference/en/en-US/modules/identity-broker.xml +++ b/docbook/reference/en/en-US/modules/identity-broker.xml @@ -289,7 +289,7 @@ Stored Tokens Readable - Automatically assigns a broker.READ_TOKEN role that allows the user + Automatically assigns a broker.read-token role that allows the user to access any stored external tokens via the broker service. @@ -1151,7 +1151,7 @@ Authorization: Bearer {keycloak_access_token}]]> By default, the Keycloak access token issued for the application can't be automatically used for retrieve thirdparty token. - A user will have to have the broker.READ_TOKEN role. The client will also have to have that role + A user will have to have the broker.read-token role. The client will also have to have that role in its scope. In the broker configuration page you can automatically assign this role to newly imported users by turning on the Stored Tokens Readable switch. diff --git a/forms/common-themes/src/main/resources/theme/base/admin/resources/partials/realm-identity-provider-oidc.html b/forms/common-themes/src/main/resources/theme/base/admin/resources/partials/realm-identity-provider-oidc.html index 9d23164df22..35833d0120c 100755 --- a/forms/common-themes/src/main/resources/theme/base/admin/resources/partials/realm-identity-provider-oidc.html +++ b/forms/common-themes/src/main/resources/theme/base/admin/resources/partials/realm-identity-provider-oidc.html @@ -53,7 +53,7 @@
- +
diff --git a/forms/common-themes/src/main/resources/theme/base/admin/resources/partials/realm-identity-provider-saml.html b/forms/common-themes/src/main/resources/theme/base/admin/resources/partials/realm-identity-provider-saml.html index 05f4c63d354..a47d68bf36d 100755 --- a/forms/common-themes/src/main/resources/theme/base/admin/resources/partials/realm-identity-provider-saml.html +++ b/forms/common-themes/src/main/resources/theme/base/admin/resources/partials/realm-identity-provider-saml.html @@ -53,7 +53,7 @@
- +
diff --git a/forms/common-themes/src/main/resources/theme/base/admin/resources/partials/realm-identity-provider-social.html b/forms/common-themes/src/main/resources/theme/base/admin/resources/partials/realm-identity-provider-social.html index 3c9260ab772..28876da2d24 100755 --- a/forms/common-themes/src/main/resources/theme/base/admin/resources/partials/realm-identity-provider-social.html +++ b/forms/common-themes/src/main/resources/theme/base/admin/resources/partials/realm-identity-provider-social.html @@ -57,7 +57,7 @@
- +
diff --git a/model/api/src/main/java/org/keycloak/models/Constants.java b/model/api/src/main/java/org/keycloak/models/Constants.java index 32fe6d57122..eef214f04a7 100755 --- a/model/api/src/main/java/org/keycloak/models/Constants.java +++ b/model/api/src/main/java/org/keycloak/models/Constants.java @@ -13,6 +13,6 @@ public interface Constants { String INSTALLED_APP_URN = "urn:ietf:wg:oauth:2.0:oob"; String INSTALLED_APP_URL = "http://localhost"; - String READ_TOKEN_ROLE = "READ_TOKEN"; + String READ_TOKEN_ROLE = "read-token"; String[] BROKER_SERVICE_ROLES = {READ_TOKEN_ROLE}; }