<?xml version="1.0" encoding="UTF-8"?>
<scr:component xmlns:scr="http://www.osgi.org/xmlns/scr/v1.3.0" name="com.liferay.saml.opensaml.integration.internal.metadata.MetadataManagerImpl" immediate="true" activate="activate" deactivate="deactivate">
  <service>
    <provide interface="com.liferay.saml.opensaml.integration.internal.metadata.MetadataManager"/>
    <provide interface="com.liferay.saml.util.SamlHttpRequestUtil"/>
  </service>
  <reference name="CredentialResolver" interface="org.opensaml.security.credential.CredentialResolver" bind="setCredentialResolver"/>
  <reference name="Http" interface="com.liferay.portal.kernel.util.Http" bind="setHttp"/>
  <reference name="LocalEntityManager" interface="com.liferay.saml.runtime.metadata.LocalEntityManager" bind="setLocalEntityManager"/>
  <reference name="MetadataResolver" cardinality="1..n" interface="org.opensaml.saml.metadata.resolver.MetadataResolver" bind="setMetadataResolver" unbind="unsetMetadataResolver" policy-option="greedy" scope="prototype_required"/>
  <reference name="ParserPool" interface="net.shibboleth.utilities.java.support.xml.ParserPool" bind="setParserPool"/>
  <reference name="Portal" interface="com.liferay.portal.kernel.util.Portal" bind="setPortal"/>
  <reference name="SamlProviderConfigurationHelper" interface="com.liferay.saml.runtime.configuration.SamlProviderConfigurationHelper" bind="setSamlProviderConfigurationHelper"/>
  <reference name="_samlIdpSpConnectionLocalService" interface="com.liferay.saml.persistence.service.SamlIdpSpConnectionLocalService" field="_samlIdpSpConnectionLocalService"/>
  <reference name="_samlSpIdpConnectionLocalService" interface="com.liferay.saml.persistence.service.SamlSpIdpConnectionLocalService" field="_samlSpIdpConnectionLocalService"/>
  <reference name="_securityConfigurationBootstrap" interface="com.liferay.saml.opensaml.integration.internal.bootstrap.SecurityConfigurationBootstrap" field="_securityConfigurationBootstrap"/>
  <implementation class="com.liferay.saml.opensaml.integration.internal.metadata.MetadataManagerImpl"/>
</scr:component>
