private void readEntitiesDescriptor(EntitiesDescriptorType entitiesDescriptor) { for (Object object : entitiesDescriptor.getEntityDescriptorOrEntitiesDescriptor()) { if (object instanceof EntityDescriptorType) { EntityDescriptorType entityDescriptor = (EntityDescriptorType) object; String entityId = entityDescriptor.getEntityID(); for (RoleDescriptorType roleDescriptor : entityDescriptor .getRoleDescriptorOrIDPSSODescriptorOrSPSSODescriptor()) { if (roleDescriptor instanceof IDPSSODescriptorType) { IDPSSODescriptorType IDPSSODescriptor = (IDPSSODescriptorType) roleDescriptor; idpMetaInfo.put(entityId, IDPSSODescriptor); } } } else { EntitiesDescriptorType descriptor = (EntitiesDescriptorType) object; readEntitiesDescriptor(descriptor); } } }
SPSSODescriptorType spSSODescriptor = CoreConfigUtil.getSPDescriptor(entityDescriptorType); if (spSSODescriptor != null) { spSSOMetadataMap.put(entityDescriptorType.getEntityID(), spSSODescriptor);
SPSSODescriptorType spSSODescriptor = CoreConfigUtil.getSPDescriptor(entityDescriptorType); if (spSSODescriptor != null) { spSSOMetadataMap.put(entityDescriptorType.getEntityID(), spSSODescriptor);
SPSSODescriptorType spSSODescriptor = CoreConfigUtil.getSPDescriptor(entityDescriptorType); if (spSSODescriptor != null) { spSSOMetadataMap.put(entityDescriptorType.getEntityID(), spSSODescriptor);
SPSSODescriptorType spSSODescriptor = CoreConfigUtil.getSPDescriptor(entityDescriptorType); if (spSSODescriptor != null) { spSSOMetadataMap.put(entityDescriptorType.getEntityID(), spSSODescriptor);
SPSSODescriptorType spSSODescriptor = CoreConfigUtil.getSPDescriptor(entityDescriptorType); if (spSSODescriptor != null) { spSSOMetadataMap.put(entityDescriptorType.getEntityID(), spSSODescriptor);
SPSSODescriptorType spSSODescriptor = CoreConfigUtil.getSPDescriptor(entityDescriptorType); if (spSSODescriptor != null) { spSSOMetadataMap.put(entityDescriptorType.getEntityID(), spSSODescriptor);
StaxUtil.writeNameSpace(writer, "ds", JBossSAMLURIConstants.XMLDSIG_NSURI.get()); StaxUtil.writeAttribute(writer, JBossSAMLConstants.ENTITY_ID.get(), entityDescriptor.getEntityID()); if (entityDescriptor.getValidUntil() != null)
StaxUtil.writeNameSpace(writer, "ds", JBossSAMLURIConstants.XMLDSIG_NSURI.get()); StaxUtil.writeAttribute(writer, JBossSAMLConstants.ENTITY_ID.get(), entityDescriptor.getEntityID()); if (entityDescriptor.getValidUntil() != null)
spSSO = getSPDescriptor(entityDescriptor); spType.setEntityId(entityDescriptor.getEntityID());
spSSO = getSPDescriptor(entityDescriptor); spType.setEntityId(entityDescriptor.getEntityID());
StaxUtil.writeNameSpace(writer, "ds", JBossSAMLURIConstants.XMLDSIG_NSURI.get()); StaxUtil.writeAttribute(writer, JBossSAMLConstants.ENTITY_ID.get(), entityDescriptor.getEntityID()); if (entityDescriptor.getValidUntil() != null) { StaxUtil.writeAttribute(writer, JBossSAMLConstants.VALID_UNTIL.get(), entityDescriptor.getValidUntil().toString());
StaxUtil.writeNameSpace(writer, "ds", JBossSAMLURIConstants.XMLDSIG_NSURI.get()); StaxUtil.writeAttribute(writer, JBossSAMLConstants.ENTITY_ID.get(), entityDescriptor.getEntityID()); if (entityDescriptor.getValidUntil() != null) { StaxUtil.writeAttribute(writer, JBossSAMLConstants.VALID_UNTIL.get(), entityDescriptor.getValidUntil().toString());
StaxUtil.writeNameSpace(writer, "ds", JBossSAMLURIConstants.XMLDSIG_NSURI.get()); StaxUtil.writeAttribute(writer, JBossSAMLConstants.ENTITY_ID.get(), entityDescriptor.getEntityID()); if (entityDescriptor.getValidUntil() != null) { StaxUtil.writeAttribute(writer, JBossSAMLConstants.VALID_UNTIL.get(), entityDescriptor.getValidUntil().toString());