mirror of
https://github.com/bmlong137/alfresco-keycloak.git
synced 2025-05-26 21:44:41 +00:00
(#18) Use KC group name for ALF group display name
This commit is contained in:
parent
7e117fb2e1
commit
c2b17cbf93
@ -33,7 +33,7 @@ public class DefaultGroupProcessor implements GroupProcessor
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* @param enabled
|
* @param enabled
|
||||||
* the enabled to set
|
* the enabled to set
|
||||||
*/
|
*/
|
||||||
public void setEnabled(final boolean enabled)
|
public void setEnabled(final boolean enabled)
|
||||||
{
|
{
|
||||||
@ -52,7 +52,7 @@ public class DefaultGroupProcessor implements GroupProcessor
|
|||||||
final PropertyMap properties = groupNode.getProperties();
|
final PropertyMap properties = groupNode.getProperties();
|
||||||
|
|
||||||
properties.put(ContentModel.PROP_AUTHORITY_NAME, AuthorityType.GROUP.getPrefixString() + group.getId());
|
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());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user