shibboleth-dev - Default sp.xml for a test site
Subject: Shibboleth Developers
List archive
- From: Vishal Goenka <>
- To:
- Subject: Default sp.xml for a test site
- Date: Tue, 4 Oct 2005 15:26:31 -0600
I found it helpful to modify the build.xml as per the following patch and
define a new property in default.build.properties called sp.config to
quickly deploy both the IdP and SP in the same tomcat as idp.example.org
and sp.example.org.
By default the sp.xml file pointed to InQueue as the IdP/Wayf. This isn't
an issue in production where you need several manual tweaks to various
configuration files anyway, but in a quick test deployment defaulting
sp.xml to dist.sp-iqidp.xml isn't always functional, unless you are
already a member of InQueue federation.
Wanted to share this patch, in case others find it useful.
Index: build.xml
===================================================================
RCS file: /home/cvs/shibboleth/shibboleth/java/build.xml,v
retrieving revision 1.86
diff -u -r1.86 build.xml
--- build.xml 26 Sep 2005 13:24:56 -0000 1.86
+++ build.xml 4 Oct 2005 21:20:44 -0000
@@ -555,7 +555,7 @@
<copy todir="${sp.home}/etc" overwrite="true">
<fileset dir="${src}/conf"
includesfile="conf/sp-conf.include"/>
</copy>
- <move file="${sp.home}/etc/dist.sp-iqidp.xml"
tofile="${sp.home}/etc/sp.xml" overwrite="true" />
+ <move file="${sp.home}/etc/${sp.config}"
tofile="${sp.home}/etc/sp.xml" overwrite="true" />
<replace file="${sp.home}/etc/sp.xml" token="$SP_HOME$"
value="${sp.home.url}" />
</target>
Index: conf/default.build.properties
===================================================================
RCS file:
/home/cvs/shibboleth/shibboleth/java/conf/default.build.properties,v
retrieving revision 1.5
diff -u -r1.5 default.build.properties
--- conf/default.build.properties 15 Sep 2005 15:04:47 -0000
1.5
+++ conf/default.build.properties 4 Oct 2005 21:20:44 -0000
@@ -11,3 +11,4 @@
sp.install-type=filesystem.prompt
idp.deployment.descriptor=dist.idp.xml
sp.deployment.descriptor=dist.sp.xml
+sp.config=dist.sp-localidp.xml
--
Vishal Goenka
SunGard SCT
- Default sp.xml for a test site, Vishal Goenka, 10/04/2005
Archive powered by MHonArc 2.6.16.