Skip to content

Commit

Permalink
update mpproxy files
Browse files Browse the repository at this point in the history
  • Loading branch information
pcaskey committed Nov 19, 2024
1 parent fcb1a75 commit a6e3998
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 9 deletions.
12 changes: 6 additions & 6 deletions Workbench/mpproxy/container_files/shibboleth/idp-metadata.xml
Original file line number Diff line number Diff line change
Expand Up @@ -98,10 +98,10 @@ p+tGUbGS2l873J5PrsbpeKEVR/IIoKo=
<NameIDFormat>urn:mace:shibboleth:1.0:nameIdentifier</NameIDFormat>
<NameIDFormat>urn:oasis:names:tc:SAML:2.0:nameid-format:transient</NameIDFormat>

<SingleSignOnService Binding="urn:mace:shibboleth:1.0:profiles:AuthnRequest" Location="https://__CSPHOSTNAME__/idp/profile/Shibboleth/SSO"/>
<SingleSignOnService Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST" Location="https://__CSPHOSTNAME__/idp/profile/SAML2/POST/SSO"/>
<SingleSignOnService Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST-SimpleSign" Location="https://__CSPHOSTNAME__/idp/profile/SAML2/POST-SimpleSign/SSO"/>
<SingleSignOnService Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect" Location="https://__CSPHOSTNAME__/idp/profile/SAML2/Redirect/SSO"/>
<SingleSignOnService Binding="urn:mace:shibboleth:1.0:profiles:AuthnRequest" Location="https://__SERVERNAME__/idp/profile/Shibboleth/SSO"/>
<SingleSignOnService Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST" Location="https://__SERVERNAME__/idp/profile/SAML2/POST/SSO"/>
<SingleSignOnService Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST-SimpleSign" Location="https://__SERVERNAME__/idp/profile/SAML2/POST-SimpleSign/SSO"/>
<SingleSignOnService Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect" Location="https://__SERVERNAME__/idp/profile/SAML2/Redirect/SSO"/>

</IDPSSODescriptor>

Expand Down Expand Up @@ -192,8 +192,8 @@ p+tGUbGS2l873J5PrsbpeKEVR/IIoKo=
</KeyDescriptor>


<AttributeService Binding="urn:oasis:names:tc:SAML:1.0:bindings:SOAP-binding" Location="https://__CSPHOSTNAME__/idp/profile/SAML1/SOAP/AttributeQuery"/>
<AttributeService Binding="urn:oasis:names:tc:SAML:2.0:bindings:SOAP" Location="https://__CSPHOSTNAME__/idp/profile/SAML2/SOAP/AttributeQuery"/>
<AttributeService Binding="urn:oasis:names:tc:SAML:1.0:bindings:SOAP-binding" Location="https://__SERVERNAME__/idp/profile/SAML1/SOAP/AttributeQuery"/>
<AttributeService Binding="urn:oasis:names:tc:SAML:2.0:bindings:SOAP" Location="https://__SERVERNAME__/idp/profile/SAML2/SOAP/AttributeQuery"/>
<!-- If you uncomment the above you should add urn:oasis:names:tc:SAML:2.0:protocol to the protocolSupportEnumeration above -->

</AttributeAuthorityDescriptor>
Expand Down
3 changes: 1 addition & 2 deletions Workbench/mpproxy/container_files/shibboleth/shibboleth2.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,8 @@

<RequestMapper type="XML">
<RequestMap>
<Host name="__CSPHOSTNAME__">
<Host name="__SERVERNAME__">
<Path name="midpoint" authType="shibboleth" requireSession="true"/>
<Path name="test" authType="shibboleth" requireSession="true"/>
</Host>
</RequestMap>
</RequestMapper>
Expand Down
2 changes: 1 addition & 1 deletion Workbench/mpproxy/container_files/system/setservername.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ files="/etc/shibboleth/idp-metadata.xml /etc/shibboleth/shibboleth2.xml"

for file in $files
do
sed -i "s|__CSPHOSTNAME__|$CSPHOSTNAME|g" $file
sed -i "s|__SERVERNAME__|$SERVERNAME|g" $file
done

0 comments on commit a6e3998

Please sign in to comment.