# installed as "foo" if "foo" does not already exist. In other words,
# the config files will not overwrite existing versions.
BUILTCONFIGFILES = \
- shibboleth2.xml \
native.logger \
shibd.logger \
attribute-map.xml \
# While BUILTCONFIGFILES are processed, these are not; so we should pull
# them from SRCDIR.
CONFIGFILES = \
+ shibboleth2.xml \
example-metadata.xml \
console.logger \
syslog.logger \
native.logger: ${srcdir}/native.logger.in Makefile ${top_builddir}/config.status
$(MAKE) do-build-file FILE=$@
-shibboleth2.xml: ${srcdir}/shibboleth2.xml.in Makefile ${top_builddir}/config.status
- $(MAKE) do-build-file FILE=$@
-
attribute-map.xml: ${srcdir}/attribute-map.xml.in Makefile ${top_builddir}/config.status
$(MAKE) do-build-file FILE=$@
shibd-osx.plist \
shibd.logger \
native.logger \
- shibboleth2.xml \
attribute-map.xml \
attribute-policy.xml
EXTRA_DIST = \
- shibboleth2.xml.in \
attribute-map.xml.in \
attribute-policy.xml.in \
native.logger.in \
xmlns:saml="urn:oasis:names:tc:SAML:2.0:assertion"
xmlns:samlp="urn:oasis:names:tc:SAML:2.0:protocol"
xmlns:md="urn:oasis:names:tc:SAML:2.0:metadata"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="urn:mace:shibboleth:2.0:native:sp:config @-PKGXMLDIR-@/shibboleth-2.0-native-sp-config.xsd"
- logger="@-PKGSYSCONFDIR-@/syslog.logger" clockSkew="180">
+ logger="syslog.logger" clockSkew="180">
<!-- The OutOfProcess section contains properties affecting the shibd daemon. -->
- <OutOfProcess logger="@-PKGSYSCONFDIR-@/shibd.logger">
+ <OutOfProcess logger="shibd.logger">
<!--
<Extensions>
<Library path="odbc-store.so" fatal="true"/>
</OutOfProcess>
<!-- The InProcess section conrains settings affecting web server modules/filters. -->
- <InProcess logger="@-PKGSYSCONFDIR-@/native.logger">
+ <InProcess logger="native.logger">
<ISAPI normalizeRequest="true">
<!--
Maps IIS Instance ID values to the host scheme/name/port/sslport. The name is
</InProcess>
<!-- Only one listener can be defined, to connect in process modules to shibd. -->
- <UnixListener address="@-PKGRUNDIR-@/shibd.sock"/>
+ <UnixListener address="shibd.sock"/>
<!-- <TCPListener address="127.0.0.1" port="12345" acl="127.0.0.1"/> -->
<!-- This set of components stores sessions and other persistent data in daemon memory. -->
End If
FileSystemObj.MoveFile ConfigFile, DistDir & "attribute-policy.xml"
- ConfigFile = DistDir & "shibboleth2.xml.in"
- ReplaceInFile ConfigFile, "@-PKGXMLDIR-@", ConvertedDir & "/share/xml/shibboleth"
- ReplaceInFile ConfigFile, "@-PKGSYSCONFDIR-@", ConvertedDir & "/etc/shibboleth"
- ReplaceInFile ConfigFile, "@-PKGLIBDIR-@", ConvertedDir & "/lib/shibboleth"
- ReplaceInFile ConfigFile, " <UnixListener address=""@-PKGRUNDIR-@/shibd.sock""/>", "<!-- <UnixListener address=""@-PKGRUNDIR-@/shibd.sock""/> -->"
- ReplaceInFile ConfigFile, "<!-- <TCPListener address=""127.0.0.1"" port=""12345"" acl=""127.0.0.1""/> -->", "<TCPListener address=""127.0.0.1"" port=""" & ShibdPort & """ acl=""127.0.0.1""/>"
- If (NOT FileSystemObj.FileExists(ConfigDir & "shibboleth2.xml")) then
- FileSystemObj.CopyFile ConfigFile, ConfigDir & "shibboleth2.xml", false
- End If
- If (FileSystemObj.FileExists(DistDir & "shibboleth2.xml")) then
- FileSystemObj.DeleteFile DistDir & "shibboleth2.xml", true
- End If
- FileSystemObj.MoveFile ConfigFile, DistDir & "shibboleth2.xml"
-
ConfigFile = DistDir & "shibd.logger.in"
ReplaceInFile ConfigFile, "@-PKGLOGDIR-@", ConvertedDir & "/var/log/shibboleth"
If (NOT FileSystemObj.FileExists(ConfigDir & "shibd.logger")) then
End If
FileSystemObj.MoveFile ConfigFile, DistDir & "apache22.config"
+ ConfigFile = DistDir & "shibboleth2.xml"
+ ReplaceInFile ConfigFile, " <UnixListener address=""shibd.sock""/>", "<!-- <UnixListener address=""shibd.sock""/> -->"
+ ReplaceInFile ConfigFile, "<!-- <TCPListener address=""127.0.0.1"" port=""12345"" acl=""127.0.0.1""/> -->", "<TCPListener address=""127.0.0.1"" port=""" & ShibdPort & """ acl=""127.0.0.1""/>"
+ If (NOT FileSystemObj.FileExists(ConfigDir & "shibboleth2.xml")) then
+ FileSystemObj.CopyFile ConfigFile, ConfigDir & "shibboleth2.xml", false
+ End If
+
'Now just copy the other non-edited files over as well (if possible)
If (NOT FileSystemObj.FileExists(ConfigDir & "accessError.html")) then
\r
#include <xercesc/util/XMLUniDefs.hpp>\r
#include <xmltooling/unicode.h>\r
+#include <xmltooling/util/PathResolver.h>\r
\r
#ifdef HAVE_UNISTD_H\r
# include <sys/socket.h>\r
\r
UnixListener::UnixListener(const DOMElement* e) : SocketListener(e), m_address("/var/run/shar-socket"), m_bound(false)\r
{\r
- // We're stateless, but we need to load the configuration.\r
const XMLCh* tag=e->getAttributeNS(NULL,address);\r
if (tag && *tag) {\r
auto_ptr_char a(tag);\r
m_address=a.get();\r
+ XMLToolingConfig::getConfig().getPathResolver()->resolve(m_address, PathResolver::XMLTOOLING_RUN_FILE);\r
}\r
}\r
\r