<br /><span>On 23/02/12, <b class="name">Chad La Joie </b> &lt;lajoie@itumi.biz&gt; wrote:</span><blockquote cite="mid:CACTY7uCmOa2_uEmx8v=gaigBe5xx7AxtFiq78FsJg7C_CFSiVQ@mail.gmail.com" class="iwcQuote" style="border-left: 1px solid rgb(0, 0, 255); padding-left: 13px; margin-left: 0pt;" type="cite"><div class="mimepart text plain">You don't have to get them to agree on anything (lord knows most SPs<br />won't anyways).<br /><br />Decide locally how you're going to store grant information for any<br />random service.  I'm an LDAP kinda guy so I'd do it there.  Scott's a<br />database guy so he'd do it there.  But wherever you do it, just be<br />clear that what you're doing is store a grant to a particular service<br />because a specific user has access to that service.  Don't try to<br />infer it from some other potentially correlated data.</div></blockquote>If I understand you correctly I think it's this I'm trying to do:<br />- Ascertain from LDAP which franchise to which the user belongs.<br />- Then look up in the database whether the franchise to which the user belongs has access to the resource (SP) being requested.<br />Have I understood correctly?<br /><blockquote cite="mid:CACTY7uCmOa2_uEmx8v=gaigBe5xx7AxtFiq78FsJg7C_CFSiVQ@mail.gmail.com" class="iwcQuote" style="border-left: 1px solid rgb(0, 0, 255); padding-left: 13px; margin-left: 0pt;" type="cite"><div class="mimepart text plain"><br /><br />Once you get that, then you can talk with each SP to see what<br />attribute they want you to send and what value they want.  You can use<br />the IdP to lookup the data, name it whatever the SP wants, munge the<br />value to whatever they want, and send int.</div></blockquote>This is where I was sort of hoping that given the above and it having been determined that the user is entitled to access the resource or not (because of their LDAP attribute and using that to look up whether that group have access using the database); that I could then provide the &quot;eduPersonAffiliation&quot; attribute with one of the permitted values (if they are entitled access) or not.<br />I can appreciate that I'm probably not looking at using the best attribute to use by contemplating &quot;eduPersonAffiliation&quot;.<br /><br />Thanks for your help in this,<br />-Keith<br /><blockquote cite="mid:CACTY7uCmOa2_uEmx8v=gaigBe5xx7AxtFiq78FsJg7C_CFSiVQ@mail.gmail.com" class="iwcQuote" style="border-left: 1px solid rgb(0, 0, 255); padding-left: 13px; margin-left: 0pt;" type="cite"><div class="mimepart text plain"><br /><br />Now, if over time you *can* get the SPs to agree to a single attribute<br />or a consistent value structure that will make your configuration<br />simpler.  But until then, you can just do data munging.<br /><br />On Wed, Feb 22, 2012 at 20:34, Keith Carr &lt;kecarr@sgul.ac.uk&gt; wrote:<br />&gt;<br />&gt; On 22/02/12, &quot;Cantor, Scott&quot; &lt;cantor.2@osu.edu&gt; wrote:<br />&gt;<br />&gt;&gt; A Query would be performed on the database using a data connector for the<br />&gt;&gt; requesting resource and values returned for all the franchises. Each<br />&gt;&gt; franchise &quot;field&quot; returned from the query would be put into an attribute<br />&gt;&gt; (FRANA_GRANTED and FRANB_GRANTED). This would then be assessed<br />&gt;&gt; along with the &quot;shibbolethset&quot; attribute to determine whether the user<br />&gt;&gt; should be given a eduPersonAffiliation attribute value which will grant<br />&gt;&gt; access<br />&gt;&gt; to the resource.<br />&gt;<br />&gt; That's a fundamental problem. Affiliation is not based on whether you have<br />&gt; access to a resource, it's a fact of the identity involved independent of<br />&gt; any resource. It's a very bad idea to conflate that.<br />&gt;<br />&gt; -- Scott<br />&gt;<br />&gt; Hi Scott,<br />&gt; I agree, however I'm failing to see another way to accomplish the task I<br />&gt; have been set.<br />&gt; In an ideal world I'm guessing that I would set some values for<br />&gt; eduPersonEntitlement indicating whether the user was allowed acces to the<br />&gt; resource and agree these with the SP's?<br />&gt; The problem I can see in this is getting all the SP's to organise and agree<br />&gt; these within the time-frame.<br />&gt; Is there another way in which I should be attacking this?<br />&gt;<br />&gt; - Keith<br />&gt;<br />&gt;<br />&gt;<br />&gt; --<br />&gt; To unsubscribe from this list send an email to<br />&gt; users-unsubscribe@shibboleth.net<br />&gt;<br />&gt;<br />&gt; --<br />&gt; To unsubscribe from this list send an email to<br />&gt; users-unsubscribe@shibboleth.net<br /><br /><br /><br />-- <br />Chad La Joie<br />www.itumi.biz<br />trusted identities, delivered<br />--<br />To unsubscribe from this list send an email to users-unsubscribe@shibboleth.net<br /></div></blockquote>