[KEYCLOAK-4340] - Exporting authorization settings is updating policies with wrong data

This commit is contained in:
Pedro Igor 2017-01-31 13:11:14 -02:00
parent 57c74e3f39
commit c705a8ffc8

View file

@ -801,7 +801,7 @@ public class ModelToRepresentation {
representation.setType(model.getType());
representation.setDecisionStrategy(model.getDecisionStrategy());
representation.setLogic(model.getLogic());
representation.setConfig(model.getConfig());
representation.setConfig(new HashMap<>(model.getConfig()));
return representation;
}