Skip to content
Snippets Groups Projects
Commit 71b0a331 authored by OZGCloud's avatar OZGCloud
Browse files

OZG-3961 adjust mapper config

parent ccd2cdaa
No related branches found
No related tags found
No related merge requests found
......@@ -90,7 +90,7 @@ class ProtocolMapperRepresentationHelper {
Map<String, String> buildOrganisationsEinheitIdLdapMapperConfig() {
var config = new HashMap<String, String>();
config.put(CONFIG_ACCESS_TOKEN_CLAIM_KEY, "true");
config.put(CONFIG_AGGREGATE_ATTRS_KEY, "false");
config.put(CONFIG_AGGREGATE_ATTRS_KEY, "true");
config.put(CONFIG_CLAIM_NAME_KEY, "organisationseinheitId");
config.put(CONFIG_ID_TOKEN_CLAIM_KEY, "true");
config.put(CONFIG_JSON_TYPE_LABEL_KEY, "int");
......
......@@ -268,7 +268,7 @@ class ProtocolMapperRepresentationHelperTest {
void shouldSetAggregateAttrs() {
var config = buildConfig();
assertThat(config).containsEntry(ProtocolMapperRepresentationHelper.CONFIG_AGGREGATE_ATTRS_KEY, "false");
assertThat(config).containsEntry(ProtocolMapperRepresentationHelper.CONFIG_AGGREGATE_ATTRS_KEY, "true");
}
@Test
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment