From cc9131441eff9c6c466dc315f9f1cfdf9f4a7660 Mon Sep 17 00:00:00 2001 From: Pedro Igor Craveiro e Silva Date: Thu, 17 Nov 2016 20:43:32 -0200 Subject: [PATCH] [KEYCLOAK-3674] - Review policies dropbox options --- .../policy/provider/role/RolePolicyProviderFactory.java | 2 +- .../policy/provider/user/UserPolicyProviderFactory.java | 2 +- .../policy/provider/drools/DroolsPolicyProviderFactory.java | 2 +- .../partials/authz/policy/resource-server-policy-list.html | 4 ++-- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/authz/policy/common/src/main/java/org/keycloak/authorization/policy/provider/role/RolePolicyProviderFactory.java b/authz/policy/common/src/main/java/org/keycloak/authorization/policy/provider/role/RolePolicyProviderFactory.java index 301bb7b9b9..67de87a7cb 100644 --- a/authz/policy/common/src/main/java/org/keycloak/authorization/policy/provider/role/RolePolicyProviderFactory.java +++ b/authz/policy/common/src/main/java/org/keycloak/authorization/policy/provider/role/RolePolicyProviderFactory.java @@ -45,7 +45,7 @@ public class RolePolicyProviderFactory implements PolicyProviderFactory { @Override public String getName() { - return "Role-Based"; + return "Role"; } @Override diff --git a/authz/policy/common/src/main/java/org/keycloak/authorization/policy/provider/user/UserPolicyProviderFactory.java b/authz/policy/common/src/main/java/org/keycloak/authorization/policy/provider/user/UserPolicyProviderFactory.java index 946147474f..fdeeac0b17 100644 --- a/authz/policy/common/src/main/java/org/keycloak/authorization/policy/provider/user/UserPolicyProviderFactory.java +++ b/authz/policy/common/src/main/java/org/keycloak/authorization/policy/provider/user/UserPolicyProviderFactory.java @@ -43,7 +43,7 @@ public class UserPolicyProviderFactory implements PolicyProviderFactory { @Override public String getName() { - return "User-Based"; + return "User"; } @Override diff --git a/authz/policy/drools/src/main/java/org/keycloak/authorization/policy/provider/drools/DroolsPolicyProviderFactory.java b/authz/policy/drools/src/main/java/org/keycloak/authorization/policy/provider/drools/DroolsPolicyProviderFactory.java index 0e1e2089c7..b3305aeb3e 100644 --- a/authz/policy/drools/src/main/java/org/keycloak/authorization/policy/provider/drools/DroolsPolicyProviderFactory.java +++ b/authz/policy/drools/src/main/java/org/keycloak/authorization/policy/provider/drools/DroolsPolicyProviderFactory.java @@ -30,7 +30,7 @@ public class DroolsPolicyProviderFactory implements PolicyProviderFactory { @Override public String getName() { - return "Drools"; + return "Rule"; } @Override diff --git a/themes/src/main/resources/theme/base/admin/resources/partials/authz/policy/resource-server-policy-list.html b/themes/src/main/resources/theme/base/admin/resources/partials/authz/policy/resource-server-policy-list.html index 84600c097c..2574f2d1b7 100644 --- a/themes/src/main/resources/theme/base/admin/resources/partials/authz/policy/resource-server-policy-list.html +++ b/themes/src/main/resources/theme/base/admin/resources/partials/authz/policy/resource-server-policy-list.html @@ -23,14 +23,14 @@