Define groupDnResolver spring bean and reference where needed.