-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rework edugate channel according to latest set of conventions.
- Loading branch information
Showing
5 changed files
with
68 additions
and
49 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,61 @@ | ||
| <?xml version="1.0" encoding="UTF-8"?> | ||
| <!-- | ||
| Common beans for this channel. | ||
| --> | ||
| <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
| xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.0.xsd"> | ||
|
|
||
| <!-- | ||
| Fetch the export metadata aggregate. | ||
| For the moment, use the production aggregate in lieu of a designated export aggregate. | ||
| --> | ||
| <bean id="ie-edugate.fetchExportAggregate" class="net.shibboleth.metadata.dom.DomHttpSourceStage" | ||
| init-method="initialize" lazy-init="true"> | ||
| <property name="id" value="ie-edugate.fetchExportAggregate"/> | ||
| <property name="parserPool" ref="parserPool"/> | ||
| <property name="sourceUrl" value="https://edugate.heanet.ie/edugate-metadata-signed.xml"/> | ||
| </bean> | ||
|
|
||
| <!-- | ||
| Metadata signing certificate. | ||
| --> | ||
| <bean id="ie-edugate.signingCertificate" class="net.shibboleth.ext.spring.factory.X509CertificateFactoryBean"> | ||
| <property name="certificateFile"> | ||
| <bean class="java.io.File"> | ||
| <constructor-arg value="#{ systemProperties['basedir'] }/mdx/ie-edugate/metadata-signer.crt"/> | ||
| </bean> | ||
| </property> | ||
| </bean> | ||
|
|
||
| <!-- | ||
| Check the signature on a document. | ||
| --> | ||
| <bean id="ie-edugate.checkSignature" class="net.shibboleth.metadata.dom.XMLSignatureValidationStage" | ||
| init-method="initialize" lazy-init="true"> | ||
| <property name="id" value="ie-edugate.checkSignature"/> | ||
| <property name="verificationCertificate" ref="ie-edugate.signingCertificate"/> | ||
| </bean> | ||
|
|
||
| <!-- | ||
| Fetch and process the exported entities as a collection. | ||
| --> | ||
| <bean id="ie-edugate.exportedEntities" class="net.shibboleth.metadata.pipeline.CompositeStage" | ||
| init-method="initialize" lazy-init="true"> | ||
| <property name="id" value="ie-edugate.exportedEntities"/> | ||
| <property name="composedStages"> | ||
| <list> | ||
| <ref bean="ie-edugate.fetchExportAggregate"/> | ||
| <ref bean="ie-edugate.checkSignature"/> | ||
|
|
||
| <!-- failure to validate signature is fatal --> | ||
| <ref bean="errorTerminatingFilter"/> | ||
|
|
||
| <ref bean="disassemble"/> | ||
|
|
||
| <ref bean="standardImportActions"/> | ||
| </list> | ||
| </property> | ||
| </bean> | ||
|
|
||
| </beans> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.