summaryrefslogtreecommitdiff
path: root/apache-sp
diff options
context:
space:
mode:
Diffstat (limited to 'apache-sp')
-rw-r--r--apache-sp/entrypoint.sh5
-rw-r--r--apache-sp/run.sh2
-rw-r--r--apache-sp/shibd/shibboleth2.xml5
3 files changed, 9 insertions, 3 deletions
diff --git a/apache-sp/entrypoint.sh b/apache-sp/entrypoint.sh
index dc16803..a552c6c 100644
--- a/apache-sp/entrypoint.sh
+++ b/apache-sp/entrypoint.sh
@@ -1,4 +1,9 @@
#!/bin/sh
+
+# NORDUnet 2017
+
+echo "Starting $0"
+
# Setup ssl keys
KEYDIR=/etc/ssl
export KEYDIR
diff --git a/apache-sp/run.sh b/apache-sp/run.sh
new file mode 100644
index 0000000..9d227b1
--- /dev/null
+++ b/apache-sp/run.sh
@@ -0,0 +1,2 @@
+# Apache SP
+docker build -t $(basename $(pwd)) . && docker run --rm -ti -p80:80 -p 443:443 -e SP_HOSTNAME=sp.nordu.dev --link shibboleth-docker $(basename $(pwd))
diff --git a/apache-sp/shibd/shibboleth2.xml b/apache-sp/shibd/shibboleth2.xml
index 2bc8b7a..c6a759f 100644
--- a/apache-sp/shibd/shibboleth2.xml
+++ b/apache-sp/shibd/shibboleth2.xml
@@ -1,7 +1,7 @@
<SPConfig xmlns="urn:mace:shibboleth:2.0:native:sp:config"
xmlns:conf="urn:mace:shibboleth:2.0:native:sp:config"
xmlns:saml="urn:oasis:names:tc:SAML:2.0:assertion"
- xmlns:samlp="urn:oasis:names:tc:SAML:2.0:protocol"
+ xmlns:samlp="urn:oasis:names:tc:SAML:2.0:protocol"
xmlns:md="urn:oasis:names:tc:SAML:2.0:metadata"
clockSkew="180">
<ApplicationDefaults entityID="https://__SP_HOSTNAME__/shibboleth"
@@ -20,7 +20,7 @@
<!-- <SessionInitiator type="Chaining" Location="/Login/https" id="sidp.norud.dev" relayState="cookie" entityID="https://idp.nordu.dev/idp/shibboleth"> -->
<!-- <SessionInitiator type="SAML2" defaultACSIndex="1" acsByIndex="false" template="bindingTemplate.html"/> -->
<!-- </SessionInitiator> -->
- <SessionInitiator type="Chaining" Location="/Login/http" id="idp.norud.dev" relayState="cookie" entityID="https://idp.nordu.dev/idp/shibboleth">
+ <SessionInitiator type="Chaining" Location="/Login/http" id="idp.nordu.dev" relayState="cookie" entityID="https://idp.nordu.dev/idp/shibboleth">
<SessionInitiator type="SAML2" defaultACSIndex="1" acsByIndex="false" template="bindingTemplate.html"/>
</SessionInitiator>
</Sessions>
@@ -35,4 +35,3 @@
<SecurityPolicyProvider type="XML" validate="true" path="security-policy.xml"/>
<ProtocolProvider type="XML" validate="true" reloadChanges="false" path="protocols.xml"/>
</SPConfig>
-