<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns:mv="http://macVmlSchemaUri" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Title" content="">
<meta name="Keywords" content="">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:#954F72;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri",sans-serif;
color:windowtext;}
span.msoIns
{mso-style-type:export-only;
mso-style-name:"";
text-decoration:underline;
color:teal;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri",sans-serif;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style>
</head>
<body bgcolor="white" lang="EN-US" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt">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:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> <RequestMapper type="XML" file="RequestMap.xml"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> </RequestMapper><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">And my RequestMap.xml file contains (comments removed for brevity and hosts obscured):<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><RequestMap applicationId="default"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> <HostRegex regex="web(|-auth)-dev(|[1-4].subdomain).topdomain.edu"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> <Path name="secure" authType="shibboleth" requireSession="true"/><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> <Path name="UniversityStaffSenate" authType="shibboleth" requireSession="true"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> </Path><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> <Path name="Academics" authType="shibboleth" requireSession="true"/><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"> </HostRegex><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"></RequestMap><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">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=).<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt">-Robert<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.5pt;color:black">-- <o:p></o:p></span></p>
<div>
<p class="MsoNormal"><span style="font-size:10.5pt;color:black">~~~~~~~~~~~~~~~~~~~~~~~~~<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.5pt;color:black">Robert J. Rust<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.5pt;color:black">Systems Administrator<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.5pt;color:black">Division of Technology Services<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.5pt;color:black">Univ. of Wisc. - River Falls<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.5pt;color:black">~~~~~~~~~~~~~~~~~~~~~~~~~<o:p></o:p></span></p>
</div>
<p class="MsoNormal"><span style="font-size:10.5pt;color:black"><img width="282" height="46" id="_x0000_i1025" src="https://www2.uwrf.edu/static/images/email-wordmark.png" alt="https://www2.uwrf.edu/static/images/email-wordmark.png"></span><o:p></o:p></p>
</div>
</body>
</html>