예제 #1
0
  protected IDPSSODescriptorType getIDPSSODescriptor(EntitiesDescriptorType entities) {
    List<Object> entityDescs = entities.getEntityDescriptor();
    for (Object entityDescriptor : entityDescs) {

      if (entityDescriptor instanceof EntitiesDescriptorType) {
        return getIDPSSODescriptor((EntitiesDescriptorType) entityDescriptor);
      }
      return CoreConfigUtil.getIDPDescriptor((EntityDescriptorType) entityDescriptor);
    }
    return null;
  }
예제 #2
0
 protected IDPSSODescriptorType handleMetadata(EntityDescriptorType entityDescriptor) {
   return CoreConfigUtil.getIDPDescriptor(entityDescriptor);
 }