remote RequestMapper
Cantor, Scott
cantor.2 at osu.edu
Wed Oct 3 22:20:55 EDT 2012
On 10/3/12 5:29 PM, "Gilbert, Alistair" <Alistair.Gilbert at basware.com>
wrote:
>I wanted to try out moving the RequestMap to an external file.
>
>The wiki implies that all I need to do is something like this in the
>Shibboleth2.xml:
>
><RequestMapper type="Native" path="Shib2RequestMap.xml" />
Yes, that should work.
>
>This would then grab the requestmap from the file Shib2RequestMap.xml
>file held in etc\shibboleth
>
>In the Shib2RequestMap.xml I have something like this:
>
><RequestMap>
> <Host name="xxx.com">
> <Path name="Login">
> <Query name="forms"
>regex="1">
> <Query
>name="tid" regex="ASTC001" authType="shibboleth" requireSession="true" />
> </Query>
> </Path>
> </Host>
></RequestMap>
That's not valid XML. You don't have a default namespace bound to the
configuration namespace from the SP config schema. Adding xmlns="..." with
the appropriate namespace URI in the root element should make it valid,
and then I would imagine it should work.
>
>The exact same RquestMap, when placed as a subnode to the RequestMapper
>directly in the Shibboleth2.xml file works fine.
Because the default namespace is declared outside that.
-- Scott
More information about the users
mailing list