-
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.
- Loading branch information
Showing
3 changed files
with
99 additions
and
0 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,40 @@ | ||
| <?xml version="1.0" encoding="UTF-8"?> | ||
| <!-- | ||
| Common beans for AAF operations. | ||
| --> | ||
| <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 AAF export metadata aggregate. For the moment, use the production aggregate in lieu | ||
| of a designated export aggregate. | ||
| --> | ||
| <bean id="fetchAafExportAggregate" class="net.shibboleth.metadata.dom.stage.DomHttpSourceStage"> | ||
| <property name="id" value="fetchAafExportAggregate"/> | ||
| <property name="parserPool" ref="parserPool"/> | ||
| <property name="sourceUrl" value="http://manager.aaf.edu.au/metadata/metadata.aaf.signed.xml"/> | ||
| </bean> | ||
|
|
||
| <!-- | ||
| AAF signing certificate. | ||
| --> | ||
| <bean id="aafSigningCertificate" class="net.shibboleth.ext.spring.factory.X509CertificateFactoryBean"> | ||
| <property name="certificateFile"> | ||
| <bean class="java.io.File"> | ||
| <constructor-arg value="#{ systemProperties['basedir'] }/mdx/aaf/aaf-metadata-cert.pem"/> | ||
| </bean> | ||
| </property> | ||
| </bean> | ||
|
|
||
| <!-- | ||
| Check AAF signing signature. | ||
| --> | ||
| <bean id="checkAafSignature" class="net.shibboleth.metadata.dom.stage.XMLSignatureValidationStage"> | ||
| <property name="id" value="checkAafSignature"/> | ||
| <property name="verificationCertificate" ref="aafSigningCertificate"/> | ||
| <property name="postProcessFilter"> | ||
| <bean class="uk.org.ukfederation.mda.ErrorAnnouncingFilteringStrategy"/> | ||
| </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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,34 @@ | ||
| <?xml version="1.0" encoding="UTF-8"?> | ||
| <!-- | ||
| Import pipeline for metadata from AAF. | ||
| --> | ||
| <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"> | ||
|
|
||
| <!-- | ||
| Import commonly used beans. | ||
| --> | ||
| <import resource="../common-beans.xml"/> | ||
|
|
||
| <!-- | ||
| Import AAF-specific beans. | ||
| --> | ||
| <import resource="aaf-beans.xml"/> | ||
|
|
||
| <bean id="pipeline" class="net.shibboleth.metadata.pipeline.SimplePipeline"> | ||
| <property name="id" value="pipeline"/> | ||
| <property name="stages"> | ||
| <list> | ||
| <ref bean="fetchAafExportAggregate"/> | ||
| <ref bean="checkAafSignature"/> | ||
| <ref bean="cleanImport"/> | ||
| <ref bean="disassemble"/> | ||
| <ref bean="checkSchemas"/> | ||
| <ref bean="assemble"/> | ||
| </list> | ||
| </property> | ||
| </bean> | ||
|
|
||
| <bean id="serializer" class="net.shibboleth.metadata.dom.DomMetadataSerializer"/> | ||
|
|
||
| </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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,25 @@ | ||
| -----BEGIN CERTIFICATE----- | ||
| MIIFAzCCA+ugAwIBAgIJAKTt168rubfsMA0GCSqGSIb3DQEBBQUAMIGxMQswCQYDVQQGEwJBVTET | ||
| MBEGA1UECB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