saml custom attribitues and passing them to the job filterI have a set up a IdP with a custom attribute for managing user access to certain nodes.  I can see that the attribute is passed from the IdP but I have no idea on how to associate it with a session for the job submissionfilter to evaluate it. Ideally, I would like to implement this for an excel client authenticating via SAML.© 2009 Microsoft Corporation. All rights reserved.Wed, 24 Jun 2009 22:05:47 Z7b5fada4-8051-434c-9b37-d9b36b878c7fhttp://social.microsoft.com/Forums/en-US/windowshpcsched/thread/7b5fada4-8051-434c-9b37-d9b36b878c7f#7b5fada4-8051-434c-9b37-d9b36b878c7fhttp://social.microsoft.com/Forums/en-US/windowshpcsched/thread/7b5fada4-8051-434c-9b37-d9b36b878c7f#7b5fada4-8051-434c-9b37-d9b36b878c7fsidphttp://social.microsoft.com/Profile/en-US/?user=sidpsaml custom attribitues and passing them to the job filterI have a set up a IdP with a custom attribute for managing user access to certain nodes.  I can see that the attribute is passed from the IdP but I have no idea on how to associate it with a session for the job submissionfilter to evaluate it. Ideally, I would like to implement this for an excel client authenticating via SAML.Fri, 01 May 2009 04:15:45 Z2009-05-01T04:15:45Zhttp://social.microsoft.com/Forums/en-US/windowshpcsched/thread/7b5fada4-8051-434c-9b37-d9b36b878c7f#c19c30ec-3e86-43f5-aa46-9af4435929d8http://social.microsoft.com/Forums/en-US/windowshpcsched/thread/7b5fada4-8051-434c-9b37-d9b36b878c7f#c19c30ec-3e86-43f5-aa46-9af4435929d8Josh Barnardhttp://social.microsoft.com/Profile/en-US/?user=Josh%20Barnardsaml custom attribitues and passing them to the job filter<p>Custom Properties should appear in the XML that is passed to the submission filter (you can modify/add them in the filter as well), though I'm not sure I fully understand what you're doing.</p><hr class="sig">-JoshSat, 02 May 2009 00:17:51 Z2009-05-02T00:17:51Zhttp://social.microsoft.com/Forums/en-US/windowshpcsched/thread/7b5fada4-8051-434c-9b37-d9b36b878c7f#5dece573-536e-425a-b1ac-593e2c1022c9http://social.microsoft.com/Forums/en-US/windowshpcsched/thread/7b5fada4-8051-434c-9b37-d9b36b878c7f#5dece573-536e-425a-b1ac-593e2c1022c9sidphttp://social.microsoft.com/Profile/en-US/?user=sidpsaml custom attribitues and passing them to the job filterThe problem I am trying to solve is that licensing is not consistent across campus. What I am doing is using AD group membership to determine what software the user is entitled to run.  Based on those groups I populate a custom attribute in the IdP.  What I am trying to do is limit the access to certain machines via the submission filter. Because different departments use different security models I am authenticating with Shibboleth instead of AD.<br/> <br/> Let me try modifying the filter and I will post the results.<br/> ~ SidWed, 06 May 2009 16:10:38 Z2009-05-06T16:10:38Zhttp://social.microsoft.com/Forums/en-US/windowshpcsched/thread/7b5fada4-8051-434c-9b37-d9b36b878c7f#dea71a37-9791-4f32-9aa1-bb97f639d16ehttp://social.microsoft.com/Forums/en-US/windowshpcsched/thread/7b5fada4-8051-434c-9b37-d9b36b878c7f#dea71a37-9791-4f32-9aa1-bb97f639d16esidphttp://social.microsoft.com/Profile/en-US/?user=sidpsaml custom attribitues and passing them to the job filterI guess that a single node does not really constitute a success but... creating node groups and aligning the node groups to applications seems to do it for a simple case. Using the Licenses Job Property may also work. What it looks like I need to do is write a filter that will first check for licenses and then compare that to the node groups to see which nodes are available.  So, say for example that I have a user with a campus agreement but not matlab. I would need to restrict the user to only those machines that have Microsoft Office on them and not matlab. If the user is submitting a job via Web Submission, application level control is near impossible as the call to an application can be embedded. I think it will be far easier to just limit the user's access to nodes where they are licensed for all installed applications. There will also need to be a filter for applications like ArcGIS where we have a limited number of license and the first prioity is for class use. To keep the security folks happy I am going to pass the ID of the saml artifact response to the filter logs.<br/> ~ Sid<br/> <br/> Below is my licensing attribute definition from the IdP<br/> <br/> <p class=MsoNormal>Attribute Definition (attribute-resolver.xml):</p> <p class=MsoNormal> </p> <p class=MsoNormal>        &lt;resolver:AttributeDefinition xsi:type=&quot;Mapped&quot; xmlns=&quot;urn:mace:shibboleth:2.0:resolver:ad&quot; id=&quot;licensedSoftware&quot; sourceAttributeID=&quot;ritEduMemberOfUid&quot;&gt;</p> <p class=MsoNormal>                &lt;resolver:Dependency ref=&quot;myLDAP&quot; /&gt;</p> <p class=MsoNormal>                &lt;resolver:Dependency ref=&quot;ritEduMemberOfUid&quot; /&gt;</p> <p class=MsoNormal>        &lt;resolver:AttributeEncoder xsi:type=&quot;SAML1String&quot; xmlns=&quot;urn:mace:shibboleth:2.0:attribute:encoder&quot;</p> <p class=MsoNormal>            name=&quot;licensedSoftware&quot; /&gt;</p> <p class=MsoNormal>        &lt;resolver:AttributeEncoder xsi:type=&quot;SAML2String&quot; xmlns=&quot;urn:mace:shibboleth:2.0:attribute:encoder&quot;</p> <p class=MsoNormal>            name=&quot;licensedSoftware&quot; friendlyName=&quot;licensedSoftware&quot; /&gt;</p> <p class=MsoNormal>                        &lt;ValueMap&gt;</p> <p class=MsoNormal>                                &lt;ReturnValue&gt;Microsoft&lt;/ReturnValue&gt;</p> <p class=MsoNormal>                                &lt;SourceValue&gt;staff&lt;/SourceValue&gt;</p> <p class=MsoNormal>                                &lt;SourceValue&gt;faculty&lt;/SourceValue&gt;</p> <p class=MsoNormal>                        &lt;/ValueMap&gt;</p> <p class=MsoNormal> </p> <p class=MsoNormal>                        &lt;ValueMap&gt;</p> <p class=MsoNormal>                                &lt;ReturnValue&gt;Matlab&lt;/ReturnValue&gt;</p> <p class=MsoNormal>                                &lt;SourceValue&gt;students&lt;/SourceValue&gt;</p> <p class=MsoNormal>                                &lt;SourceValue&gt;faculty&lt;/SourceValue&gt;</p> <p class=MsoNormal>                        &lt;/ValueMap&gt;</p> <p class=MsoNormal> </p> <p class=MsoNormal>                        &lt;ValueMap&gt;</p> <p class=MsoNormal>                                &lt;ReturnValue&gt;Visual Studio&lt;/ReturnValue&gt;</p> <p class=MsoNormal>                                &lt;SourceValue&gt;systems_team&lt;/SourceValue&gt;</p> <p class=MsoNormal>                        &lt;/ValueMap&gt;</p> <p class=MsoNormal> </p> <p class=MsoNormal>        &lt;/resolver:AttributeDefinition&gt;</p> <p class=MsoNormal> </p> <p class=MsoNormal>Release Attribute to SP (attribute-filter.xml)</p> <br/>Wed, 06 May 2009 21:29:36 Z2009-05-06T21:30:39Z