</copy>
<move file="${idp.home}/etc/dist.idp.xml" tofile="${idp.home}/etc/idp.xml" overwrite="true" />
<replace file="${idp.home}/etc/idp.xml" token="$IDP_HOME$" value="${idp.home.url}" />
+ <replace file="${idp.home}/etc/idp.xml" token="$IDP_WEBAPP_NAME$" value="${idp.webapp.name}" />
</target>
<!-- copy SP configuration to $SP_HOME$/etc, overwriting any existing configuration -->
<!-- Protocol handlers specify what type of requests the IdP can respond to. The default set listed here should work
for most configurations. Modifications to this section may require modifications to the deployment descriptor -->
<ProtocolHandler implementation="edu.internet2.middleware.shibboleth.idp.provider.ShibbolethV1SSOHandler">
- <Location>https?://[^:/]+(:(443|80))?/shibboleth-idp/SSO</Location> <!-- regex works when using default protocol ports -->
+ <Location>https?://[^:/]+(:(443|80))?/$IDP_WEBAPP_NAME$/SSO</Location> <!-- regex works when using default protocol ports -->
</ProtocolHandler>
<ProtocolHandler implementation="edu.internet2.middleware.shibboleth.idp.provider.SAMLv1_AttributeQueryHandler">
- <Location>.+:8443/shibboleth-idp/AA</Location>
+ <Location>.+:8443/$IDP_WEBAPP_NAME$/AA</Location>
</ProtocolHandler>
<ProtocolHandler implementation="edu.internet2.middleware.shibboleth.idp.provider.SAMLv1_1ArtifactQueryHandler">
- <Location>.+:8443/shibboleth-idp/Artifact</Location>
+ <Location>.+:8443/$IDP_WEBAPP_NAME$/Artifact</Location>
</ProtocolHandler>