Skip to content

Commit

Permalink
Merge pull request #2212 from uprightech/version_4.4.1
Browse files Browse the repository at this point in the history
fix: facilitate multiple same type NameID creation
  • Loading branch information
uprightech authored Jul 20, 2022
2 parents fbd5776 + 4ef7279 commit 01711ef
Showing 1 changed file with 2 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -194,12 +194,8 @@ public void removeNameIdConfig(NameIdConfig removenameIdConfig) {
}

public Map<String, String> getAvailableNamedIds(NameIdConfig config) {
MapDifference<String, String> diff = Maps.difference(availableNamedIds, usedNamedIds);
Map<String, String> value = diff.entriesOnlyOnLeft();
Map<String, String> result = Maps.newHashMap(value);
if (config.getNameIdType() != null) {
result.put(config.getNameIdType(), config.getNameIdType());
}

Map<String, String> result = Maps.newHashMap(availableNamedIds);
return result;
}

Expand Down

0 comments on commit 01711ef

Please sign in to comment.