<br /><span>On 22/02/12, <b class="name">Peter Schober </b> &lt;peter.schober@univie.ac.at&gt; wrote:</span><blockquote cite="mid:20120222183027.GK22863@wssp.cc.univie.ac.at" class="iwcQuote" style="border-left: 1px solid rgb(0, 0, 255); padding-left: 13px; margin-left: 0pt;" type="cite"><div class="mimepart text plain">* Keith Carr &lt;kecarr@sgul.ac.uk&gt; [2012-02-22 19:19]:<br />&gt; It has come to pass that our institution has franchised courses to<br />&gt; another institution. We shall call this &quot;franchise-b&quot; for reference<br />&gt; and ourselves &quot;franchise_a&quot;. In this we are also running some of the<br />&gt; back-end services for franchise_b including ldap and shibboleth IdP<br />&gt; authentication for it's users.<br />[...]<br />&gt; At the moment I am imagining using a MySQL database (called say<br />&gt; &quot;Franchises&quot;) to hold a list of resources and whether it is licensed<br />&gt; for that franchise something like this:<br />&gt; <br />&gt; +----------+-------------+-------------+<br />&gt; | resource | franchise_a | franchise_b |<br />&gt; +----------+-------------+-------------+<br />&gt; | ent_1    | TRUE        | TRUE        |<br />&gt; | ent_2    | TRUE        | FALSE       |<br />&gt; +----------+-------------+-------------+<br /><br />If you store users from franchise_a and franchise_b in seperate<br />notes/leaves of your LDAP DIT (you said you were also providing LDAP<br />services for those users) you could save the MySQL daemon and SQL<br />query and RDBMS data connector and deduce the franchise (and from that<br />the licensed resource, e.g. in a mapped attribute definition) solely<br />from the LDAP entry of a given person.<br />-peter</div></blockquote>Alas Peter, I don't think that would be case:<br />Two different users in two separate notes/leaves of LDAP would only tell you to which group of users the user belonged.<br />Since those two users (in separate notes/leaves) may or may not have access to a particular resource (SP) I would have to write JavaScript to assertain whether the notes/leaves had access to a resource. Multiply this by ten, or one hundred resources (SP's) and the JavaScript starts to become very hard to maintain due to it's size.<br />Unless I'm missing something?<br />- Keith<br /><blockquote cite="mid:20120222183027.GK22863@wssp.cc.univie.ac.at" 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 />To unsubscribe from this list send an email to users-unsubscribe@shibboleth.net<br /></div></blockquote>