// Process the EDT
List<EDTChoiceType> edtChoiceTypeList = entity.getChoiceType();
for (EDTChoiceType edtChoiceType : edtChoiceTypeList) {
List<EDTDescriptorChoiceType> edtDescriptorChoiceTypeList = edtChoiceType.getDescriptors();
for (EDTDescriptorChoiceType edtDesc : edtDescriptorChoiceTypeList) {
IDPSSODescriptorType idpSSO = edtDesc.getIdpDescriptor();
if (idpSSO != null) {
addIdentityProvider(id);
}
SPSSODescriptorType spSSO = edtDesc.getSpDescriptor();
if (spSSO != null) {