<FONT face="Default Sans Serif,Verdana,Arial,Helvetica,sans-serif" size=2><div>Thanks Scott.</div><div><br></div><div>This is not a security issue in this situation. &nbsp;Even though I want to use the query, we're matching on numbers only so case is not an issue either. &nbsp;It sounds like the usual way to do this would be to modify the path itself to distinguish between applications, not the query. &nbsp;If necessary, I can do this but the design of the application as-is means this would require some work so it was not my first choice. &nbsp;I could not tell from your response... is it even possible to define the applicationId based on the query? &nbsp;I don't believe this is supported according to what I've read... in which case all this isn't even possible with Shibboleth.</div><div><br></div><div><br></div><div><br></div><div>Best regards,<br><br>Kevin F. La Barre<br>Senior IT Engineer<br>AssetWorks, Inc.<br>512-347-7400 x1860<br><div><br></div><font color="#990099">-----users-bounces@shibboleth.net wrote: -----<br><br></font><blockquote style="padding-right:0px;padding-left:5px;margin-left:5px;border-left:#000000 2px solid;margin-right:0px">To: "users@shibboleth.net" &lt;users@shibboleth.net&gt;<br>From: "Cantor, Scott" &lt;cantor.2@osu.edu&gt;<br>Sent by: users-bounces@shibboleth.net<br>Date: 12/19/2011 11:46AM<br>Subject: Re: Distiguishing between apps by URL parameter?<br><br><font face="Courier New,Courier,monospace" size="3">On 12/19/11 12:37 PM, "Kevin LaBarre" &lt;Kevin.LaBarre@Assetworks.com&gt; wrote:<br>&gt;<br>&gt;Due to my configuration I would like to proceed with the Query feature<br>&gt;within the RequestMapper in the shibboleth2.xml file, but I seem to be<br>&gt;able to get one app or the other working just fine, but not both. &nbsp;It<br>&gt;seems only "default" works and it's got to be something with the way I'm<br>&gt;defining things.<br><br>Yes, you're defining the applicationId based on the path, and not the<br>query.<br><br>&gt;Right now my RequestMapper definition looks something like this:<br><br>In that scenario the application demarcation is non-existent, so<br>everything is default.<br><br>&gt;I need to be able to distinguish between two applications by the query.<br>&gt;I've searched extensively but have not been able to find any examples on<br>&gt;how this should be done.<br><br><br>Because it's usually a very bad idea; query string evaluation is case<br>sensitive, and almost no language honors that. So subverting your intent<br>tends to be fairly simple. That may be merely functionally problematic,<br>but if it's security-relevant, you'd have a problem.<br><br>&gt; &nbsp;My first attempt (which failed) looks something like this:<br><br>You can't define two PathRegex elements that are identical. One overwrites<br>the other. And you can't define the application override in terms of the<br>Path if you want it to be based on the query. You need to eliminate the<br>duplication and then move the applicationId into one or both of the<br>queries. Most likely it will be clearer to define an override for each<br>one, rather than only one of them. That way it's more explicitly parallel.<br>It will work as default + override, but some find that confusing.<br><br>&gt;I then proceed with the ApplicationDefaults section where again I'm<br>&gt;confused about how things work. &nbsp;From the documentation it looks like I<br>&gt;should declare the defaults first, then setup an ApplicationOverride<br>&gt;section. &nbsp;Is ApplicationOverride defined within the ApplicationDefaults<br>&gt;section or outside of those tags altogether?<br><br>Inside, emphasizing the inheritance of most of the settings. The<br>documentation shows this explicitly by describing all settings in terms of<br>what's permitted where.<br><br>&gt;Unfortunately I found examples both ways and I know one has to be wrong<br>&gt;so I figured I'd ask anyway.<br><br>Any examples showing them as siblings wouldn't even load.<br><br>-- Scott<br><br>--<br>To unsubscribe from this list send an email to users-unsubscribe@shibboleth.net<br></font>
</blockquote><br></div></FONT>