From c2b17cbf93edb3b1a9916be0c49a679aac8f4fe1 Mon Sep 17 00:00:00 2001 From: AFaust Date: Fri, 15 Oct 2021 01:11:45 +0200 Subject: [PATCH] (#18) Use KC group name for ALF group display name --- .../alfresco/keycloak/repo/sync/DefaultGroupProcessor.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/repository/src/main/java/de/acosix/alfresco/keycloak/repo/sync/DefaultGroupProcessor.java b/repository/src/main/java/de/acosix/alfresco/keycloak/repo/sync/DefaultGroupProcessor.java index 3b2aa1a..22617b7 100644 --- a/repository/src/main/java/de/acosix/alfresco/keycloak/repo/sync/DefaultGroupProcessor.java +++ b/repository/src/main/java/de/acosix/alfresco/keycloak/repo/sync/DefaultGroupProcessor.java @@ -33,7 +33,7 @@ public class DefaultGroupProcessor implements GroupProcessor /** * @param enabled - * the enabled to set + * the enabled to set */ public void setEnabled(final boolean enabled) { @@ -52,7 +52,7 @@ public class DefaultGroupProcessor implements GroupProcessor final PropertyMap properties = groupNode.getProperties(); properties.put(ContentModel.PROP_AUTHORITY_NAME, AuthorityType.GROUP.getPrefixString() + group.getId()); - properties.put(ContentModel.PROP_AUTHORITY_DISPLAY_NAME, group.getPath()); + properties.put(ContentModel.PROP_AUTHORITY_DISPLAY_NAME, group.getName()); } } }