Shib SP - need help breaking out RequestMap into separat

Robert Rust robert.j.rust at uwrf.edu
Thu Aug 31 17:32:45 EDT 2017


I’m trying to figure out how to break out a request map into a separate XML file (e.g. have the map outside of shibboleth2.xml) and I can’t seem to find the right combination of things (or examples) to accomplish this.  I am running on Windows with IIS.  I have the following block in my shibboleth2.xml:
    <RequestMapper type="XML" file="RequestMap.xml">

    </RequestMapper>

And my RequestMap.xml file contains (comments removed for brevity and hosts obscured):
<RequestMap applicationId="default">
                <HostRegex regex="web(|-auth)-dev(|[1-4].subdomain).topdomain.edu">
                                <Path name="secure" authType="shibboleth" requireSession="true"/>
                                <Path name="UniversityStaffSenate" authType="shibboleth" requireSession="true">
                                </Path>
                                <Path name="Academics" authType="shibboleth" requireSession="true"/>
                </HostRegex>
</RequestMap>

The RequestMap.xml file is in the same directory (C:\opt\shibboleth-sp\etc\shibboleth) as the shibboleth2.xml file.  The RequestMap block seems to work as desired when I had it inside the shibboleth2.xml (with type=Native & no file=).

-Robert
--
~~~~~~~~~~~~~~~~~~~~~~~~~
Robert J. Rust
Systems Administrator
Division of Technology Services
Univ. of Wisc. - River Falls
~~~~~~~~~~~~~~~~~~~~~~~~~
[https://www2.uwrf.edu/static/images/email-wordmark.png]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shibboleth.net/pipermail/users/attachments/20170831/24778ba3/attachment.html>


More information about the users mailing list