2 package edu.internet2.middleware.shibboleth.metadata;
4 import org.opensaml.saml2.metadata.provider.MetadataProvider;
5 import org.opensaml.saml2.metadata.provider.MetadataProviderException;
6 import org.w3c.dom.Element;
9 * Loads metadata directly from the IdP configuration.
11 * @author Walter Hoehn
14 * We could do without this class, I guess, since the OpenSAML version has the right constructor; but it seems prudent
15 * to put it in the same hierarchy with its peers.
17 public class DOMMetadataProvider extends ShibbolethConfigurableMetadataProvider implements MetadataProvider {
19 public DOMMetadataProvider(Element configuration) throws MetadataProviderException {
23 provider = new org.opensaml.saml2.metadata.provider.DOMMetadataProvider(configuration);