-
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.
Inbound flows for InCommon, ARNES and CAF.
- Loading branch information
Showing
9 changed files
with
328 additions
and
25 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 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,16 @@ | ||
| -----BEGIN CERTIFICATE----- | ||
| MIICfzCCAegCCQD3rv/N2WIUfDANBgkqhkiG9w0BAQUFADCBgzELMAkGA1UEBhMC | ||
| U0kxEjAQBgNVBAcTCUxqdWJsamFuYTEOMAwGA1UEChMFQVJORVMxDDAKBgNVBAsT | ||
| A0FBSTEdMBsGA1UEAxMUQUFJIE1ldGFkYXRhIHNpZ25pbmcxIzAhBgkqhkiG9w0B | ||
| CQEWFGFhYS1wb2Rwb3JhQGFybmVzLnNpMB4XDTEwMDIwNDA5MjgzNVoXDTE1MDIw | ||
| MzA5MjgzNVowgYMxCzAJBgNVBAYTAlNJMRIwEAYDVQQHEwlManVibGphbmExDjAM | ||
| BgNVBAoTBUFSTkVTMQwwCgYDVQQLEwNBQUkxHTAbBgNVBAMTFEFBSSBNZXRhZGF0 | ||
| YSBzaWduaW5nMSMwIQYJKoZIhvcNAQkBFhRhYWEtcG9kcG9yYUBhcm5lcy5zaTCB | ||
| nzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAvmW/4Eebdf+zPNdgZ2Cr3BPp/1HJ | ||
| UAk+/HIxK9Y2JLU/QsE3zxUoQbbi3Ta182CxVhmRFbfBjT/YwBVT6BlZGCoIKdfH | ||
| NSbl3lSFf3l/nz8Ug68IDI62ARJ0VlyASMvnRJ6GOxWU53T4YqekPuMoMIBUlV7N | ||
| N+/gBqD+iCaHKTMCAwEAATANBgkqhkiG9w0BAQUFAAOBgQBU5Cv2wnMQbEEbYSMH | ||
| x9clNE5t5UlqAA2DZvItE016kxhpaG597Cr+gczufTNxarUBmGEhOviJCoI1wBGX | ||
| LnRJZObagrhrIpJpgngbe/+/uSumGuVnBC7lxdtPCpItFtma868SfiYEu/2TZ5Bb | ||
| Kwh60xP9QEPbBpSREJxi9x0Ucg== | ||
| -----END CERTIFICATE----- |
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 ARNES 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 ARNES export metadata aggregate. For the moment, use the production aggregate in lieu | ||
| of a designated export aggregate. | ||
| --> | ||
| <bean id="fetchArnesExportAggregate" class="net.shibboleth.metadata.dom.stage.DomHttpSourceStage"> | ||
| <property name="id" value="fetchArnesExportAggregate"/> | ||
| <property name="parserPool" ref="parserPool"/> | ||
| <property name="sourceUrl" value="http://ds.aai.arnes.si/metadata/aai.arnes.si.signed.xml"/> | ||
| </bean> | ||
|
|
||
| <!-- | ||
| ARNES signing certificate. | ||
| --> | ||
| <bean id="arnesSigningCertificate" class="net.shibboleth.ext.spring.factory.X509CertificateFactoryBean"> | ||
| <property name="certificateFile"> | ||
| <bean class="java.io.File"> | ||
| <constructor-arg value="#{ systemProperties['basedir'] }/mdx/arnes/aai.arnes.si.crt"/> | ||
| </bean> | ||
| </property> | ||
| </bean> | ||
|
|
||
| <!-- | ||
| Check ARNES signing signature. | ||
| --> | ||
| <bean id="checkArnesSignature" class="net.shibboleth.metadata.dom.stage.XMLSignatureValidationStage"> | ||
| <property name="id" value="checkArnesSignature"/> | ||
| <property name="verificationCertificate" ref="arnesSigningCertificate"/> | ||
| <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 ARNES. | ||
| --> | ||
| <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 ARNES-specific beans. | ||
| --> | ||
| <import resource="arnes-beans.xml"/> | ||
|
|
||
| <bean id="pipeline" class="net.shibboleth.metadata.pipeline.SimplePipeline"> | ||
| <property name="id" value="pipeline"/> | ||
| <property name="stages"> | ||
| <list> | ||
| <ref bean="fetchArnesExportAggregate"/> | ||
| <ref bean="checkArnesSignature"/> | ||
| <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,40 @@ | ||
| <?xml version="1.0" encoding="UTF-8"?> | ||
| <!-- | ||
| Common beans for CAF 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 CAF export metadata aggregate. For the moment, use the production aggregate in lieu | ||
| of a designated export aggregate. | ||
| --> | ||
| <bean id="fetchCafExportAggregate" class="net.shibboleth.metadata.dom.stage.DomHttpSourceStage"> | ||
| <property name="id" value="fetchCafExportAggregate"/> | ||
| <property name="parserPool" ref="parserPool"/> | ||
| <property name="sourceUrl" value="https://caf-shibops.ca/CoreServices/cafshib_metadata_signed.xml"/> | ||
| </bean> | ||
|
|
||
| <!-- | ||
| CAF signing certificate. | ||
| --> | ||
| <bean id="cafSigningCertificate" class="net.shibboleth.ext.spring.factory.X509CertificateFactoryBean"> | ||
| <property name="certificateFile"> | ||
| <bean class="java.io.File"> | ||
| <constructor-arg value="#{ systemProperties['basedir'] }/mdx/caf/cafshib_metadata_verify.pem"/> | ||
| </bean> | ||
| </property> | ||
| </bean> | ||
|
|
||
| <!-- | ||
| Check CAF signing signature. | ||
| --> | ||
| <bean id="checkCafSignature" class="net.shibboleth.metadata.dom.stage.XMLSignatureValidationStage"> | ||
| <property name="id" value="checkCafSignature"/> | ||
| <property name="verificationCertificate" ref="cafSigningCertificate"/> | ||
| <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 CAF. | ||
| --> | ||
| <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 CAF-specific beans. | ||
| --> | ||
| <import resource="caf-beans.xml"/> | ||
|
|
||
| <bean id="pipeline" class="net.shibboleth.metadata.pipeline.SimplePipeline"> | ||
| <property name="id" value="pipeline"/> | ||
| <property name="stages"> | ||
| <list> | ||
| <ref bean="fetchCafExportAggregate"/> | ||
| <ref bean="checkCafSignature"/> | ||
| <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,24 @@ | ||
| -----BEGIN CERTIFICATE----- | ||
| MIIEGzCCAwOgAwIBAgIJAIjBzVazWCGZMA0GCSqGSIb3DQEBBQUAMGYxCzAJBgNV | ||
| BAYTAkNBMRMwEQYDVQQKEwplZHVwYXNzLmNhMRYwFAYDVQQLEw1Db3JlIFNlcnZp | ||
| Y2VzMSowKAYDVQQDEyFNZXRhZGF0YSBWZXJpZmljYXRpb24gQ2VydGlmaWNhdGUw | ||
| HhcNMDgwMTE3MTYwNDIzWhcNMTAwMTE2MTYwNDIzWjBmMQswCQYDVQQGEwJDQTET | ||
| MBEGA1U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c0VpIem8ccddfygIVka7HZrqv0I5Hc7S | ||
| CfWV5agThu+j26Dm8ZS6TJyb2Ge3X3J12xr6XIGbVkqD0kwlUFophYyOV0Mo46Zd | ||
| fvoq7pcJ6zkrq85xonqKcZAjdki0E9iW2on4AVETYsGYF9n1b5QqmGspMPROa5U= | ||
| -----END CERTIFICATE----- |
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 InCommon 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 InCommon export metadata aggregate. For the moment, use the production aggregate in lieu | ||
| of a designated export aggregate. | ||
| --> | ||
| <bean id="fetchInCommonExportAggregate" class="net.shibboleth.metadata.dom.stage.DomHttpSourceStage"> | ||
| <property name="id" value="fetchInCommonExportAggregate"/> | ||
| <property name="parserPool" ref="parserPool"/> | ||
| <property name="sourceUrl" value="http://wayf.incommonfederation.org/InCommon/InCommon-metadata.xml"/> | ||
| </bean> | ||
|
|
||
| <!-- | ||
| InCommon signing certificate. | ||
| --> | ||
| <bean id="inCommonSigningCertificate" class="net.shibboleth.ext.spring.factory.X509CertificateFactoryBean"> | ||
| <property name="certificateFile"> | ||
| <bean class="java.io.File"> | ||
| <constructor-arg value="#{ systemProperties['basedir'] }/mdx/incommon/incommon.pem"/> | ||
| </bean> | ||
| </property> | ||
| </bean> | ||
|
|
||
| <!-- | ||
| Check InCommon signing signature. | ||
| --> | ||
| <bean id="checkInCommonSignature" class="net.shibboleth.metadata.dom.stage.XMLSignatureValidationStage"> | ||
| <property name="id" value="checkInCommonSignature"/> | ||
| <property name="verificationCertificate" ref="inCommonSigningCertificate"/> | ||
| <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 InCommon. | ||
| --> | ||
| <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 InCommon-specific beans. | ||
| --> | ||
| <import resource="incommon-beans.xml"/> | ||
|
|
||
| <bean id="pipeline" class="net.shibboleth.metadata.pipeline.SimplePipeline"> | ||
| <property name="id" value="pipeline"/> | ||
| <property name="stages"> | ||
| <list> | ||
| <ref bean="fetchInCommonExportAggregate"/> | ||
| <ref bean="checkInCommonSignature"/> | ||
| <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> |