<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://myitforum.com/cs2/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Forefront Security at myITForum : claims, ADFS V2</title><link>http://myitforum.com/cs2/blogs/forefrontsecurity/archive/tags/claims/ADFS+V2/default.aspx</link><description>Tags: claims, ADFS V2</description><dc:language>en</dc:language><generator>CommunityServer 2007.1 SP2 (Build: 31113.47)</generator><item><title>Provide access to your Partner on your UAG Portal with ADFS 2.0</title><link>http://myitforum.com/cs2/blogs/forefrontsecurity/archive/2011/08/16/provide-access-to-your-partner-on-your-uag-portal-with-adfs-2-0.aspx</link><pubDate>Tue, 16 Aug 2011 07:58:00 GMT</pubDate><guid isPermaLink="false">8e8f7986-475c-475d-bdc9-a1b3a63b955b:158861</guid><dc:creator>forefrontsecurity</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://myitforum.com/cs2/blogs/forefrontsecurity/rsscomments.aspx?PostID=158861</wfw:commentRss><comments>http://myitforum.com/cs2/blogs/forefrontsecurity/archive/2011/08/16/provide-access-to-your-partner-on-your-uag-portal-with-adfs-2-0.aspx#comments</comments><description>&lt;p&gt;Hi,&lt;/p&gt;  &lt;p&gt;As Hicham already demonstrate, you can add Claims Provider Trust on your Federation Server. His example is a Federation with Azure services, but you can do the same with a Federation Partner. Have a look at this article : &lt;a title="http://myitforum.com/cs2/blogs/forefrontsecurity/archive/2011/08/05/authenticating-to-your-network-through-your-online-credentials.aspx" href="http://myitforum.com/cs2/blogs/forefrontsecurity/archive/2011/08/05/authenticating-to-your-network-through-your-online-credentials.aspx"&gt;http://myitforum.com/cs2/blogs/forefrontsecurity/archive/2011/08/05/authenticating-to-your-network-through-your-online-credentials.aspx&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;Let’s assume that the Labiam Corporation wants to allow access on his UAG Portal to the UAG.com company. Both have a Federation Service.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://myitforum.com/cs2/blogs/forefrontsecurity/image_22D2B05E.png"&gt;&lt;img style="background-image:none;border-bottom:0px;border-left:0px;margin:0px;padding-left:0px;padding-right:0px;display:inline;border-top:0px;border-right:0px;padding-top:0px;" title="image" border="0" alt="image" src="http://myitforum.com/cs2/blogs/forefrontsecurity/image_thumb_485C2DBF.png" width="244" height="161" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;As you can see on the above schema, we have to create a Claims Provider Trust on the LABIAM Federation Server, and add this Federation Server as a Trusted relying Party on the UAG.com Federation Server.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://myitforum.com/cs2/blogs/forefrontsecurity/image_6732A19D.png"&gt;&lt;img style="background-image:none;border-bottom:0px;border-left:0px;margin:0px;padding-left:0px;padding-right:0px;display:inline;border-top:0px;border-right:0px;padding-top:0px;" title="image" border="0" alt="image" src="http://myitforum.com/cs2/blogs/forefrontsecurity/image_thumb_4A497CC8.png" width="244" height="48" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;With the FederationMetadata URL, it is easy to add this provider&lt;/p&gt;  &lt;p&gt;&lt;a href="http://myitforum.com/cs2/blogs/forefrontsecurity/image_5E629951.png"&gt;&lt;img style="background-image:none;border-bottom:0px;border-left:0px;margin:0px;padding-left:0px;padding-right:0px;display:inline;border-top:0px;border-right:0px;padding-top:0px;" title="image" border="0" alt="image" src="http://myitforum.com/cs2/blogs/forefrontsecurity/image_thumb_68478ABC.png" width="213" height="244" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;Add the necessary claims to the Provider (Windows Account Name, Role …)&lt;/p&gt;  &lt;p&gt;On the other side, create the Relying Party Trust, and accept the required claims.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://myitforum.com/cs2/blogs/forefrontsecurity/image_54BA2B1B.png"&gt;&lt;img style="background-image:none;border-bottom:0px;border-left:0px;margin:0px;padding-left:0px;padding-right:0px;display:inline;border-top:0px;border-right:0px;padding-top:0px;" title="image" border="0" alt="image" src="http://myitforum.com/cs2/blogs/forefrontsecurity/image_thumb_7AAFDB71.png" width="244" height="49" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;Now, when a user access the UAG Portal, he can choose his repository, and your Partner can access your publications.&amp;#160; &lt;/p&gt;  &lt;p&gt;&lt;a href="http://myitforum.com/cs2/blogs/forefrontsecurity/image_59BC68CA.png"&gt;&lt;img style="background-image:none;border-bottom:0px;border-left:0px;margin:0px;padding-left:0px;padding-right:0px;display:inline;border-top:0px;border-right:0px;padding-top:0px;" title="image" border="0" alt="image" src="http://myitforum.com/cs2/blogs/forefrontsecurity/image_thumb_1841B671.png" width="244" height="74" /&gt;&lt;/a&gt;&lt;/p&gt;        &lt;p&gt;Then you can filter the access to specific application, using the Role Type of Claims (developed in a previous article : &lt;a title="http://myitforum.com/cs2/blogs/forefrontsecurity/archive/2011/08/16/ad-fs-2-0-and-uag-set-authorization-on-application-in-uag-based-on-claims-roles.aspx" href="http://myitforum.com/cs2/blogs/forefrontsecurity/archive/2011/08/16/ad-fs-2-0-and-uag-set-authorization-on-application-in-uag-based-on-claims-roles.aspx"&gt;http://myitforum.com/cs2/blogs/forefrontsecurity/archive/2011/08/16/ad-fs-2-0-and-uag-set-authorization-on-application-in-uag-based-on-claims-roles.aspx&lt;/a&gt;)&lt;/p&gt;  &lt;p&gt;AD FS is a very great feature. No matter Network considerations, Active Directory Trust Relationships, just use HTTP(s) Exchange to Federate your Business Partners.&lt;/p&gt;  &lt;p align="right"&gt;&lt;strong&gt;Published by Olivier DETILLEUX&lt;/strong&gt;&lt;/p&gt;&lt;img src="http://myitforum.com/cs2/aggbug.aspx?PostID=158861" width="1" height="1"&gt;</description><category domain="http://myitforum.com/cs2/blogs/forefrontsecurity/archive/tags/Forefront+UAG/default.aspx">Forefront UAG</category><category domain="http://myitforum.com/cs2/blogs/forefrontsecurity/archive/tags/UAG/default.aspx">UAG</category><category domain="http://myitforum.com/cs2/blogs/forefrontsecurity/archive/tags/UAG+SP1/default.aspx">UAG SP1</category><category domain="http://myitforum.com/cs2/blogs/forefrontsecurity/archive/tags/Forefront+UAG+SP1/default.aspx">Forefront UAG SP1</category><category domain="http://myitforum.com/cs2/blogs/forefrontsecurity/archive/tags/ADFS/default.aspx">ADFS</category><category domain="http://myitforum.com/cs2/blogs/forefrontsecurity/archive/tags/ADFS+V2/default.aspx">ADFS V2</category><category domain="http://myitforum.com/cs2/blogs/forefrontsecurity/archive/tags/claims/default.aspx">claims</category><category domain="http://myitforum.com/cs2/blogs/forefrontsecurity/archive/tags/Federation/default.aspx">Federation</category><category domain="http://myitforum.com/cs2/blogs/forefrontsecurity/archive/tags/partner/default.aspx">partner</category></item><item><title>AD FS 2.0 and UAG : Set authorization on application in UAG based on Claims Roles</title><link>http://myitforum.com/cs2/blogs/forefrontsecurity/archive/2011/08/16/ad-fs-2-0-and-uag-set-authorization-on-application-in-uag-based-on-claims-roles.aspx</link><pubDate>Tue, 16 Aug 2011 07:12:57 GMT</pubDate><guid isPermaLink="false">8e8f7986-475c-475d-bdc9-a1b3a63b955b:158860</guid><dc:creator>forefrontsecurity</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://myitforum.com/cs2/blogs/forefrontsecurity/rsscomments.aspx?PostID=158860</wfw:commentRss><comments>http://myitforum.com/cs2/blogs/forefrontsecurity/archive/2011/08/16/ad-fs-2-0-and-uag-set-authorization-on-application-in-uag-based-on-claims-roles.aspx#comments</comments><description>&lt;p&gt;Hi all,&lt;/p&gt;  &lt;p&gt;AD FS 2.0 provide transparent authentication on the UAG Portal. Hicham and I have already deal with this great feature. Today, I will show how we can set authorization, based on claims, on the application published through UAG.&lt;/p&gt;  &lt;p&gt;With the regular Form Based Authentication against an Active Directory, it is easy to set authorization for an application : &lt;/p&gt;  &lt;p&gt;&lt;a href="http://myitforum.com/cs2/blogs/forefrontsecurity/image_0C4119AB.png"&gt;&lt;img style="background-image:none;border-bottom:0px;border-left:0px;margin:0px;padding-left:0px;padding-right:0px;display:inline;border-top:0px;border-right:0px;padding-top:0px;" title="image" border="0" alt="image" src="http://myitforum.com/cs2/blogs/forefrontsecurity/image_thumb_63C23796.png" width="197" height="244" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;But with an ADFS authentication, how can we query Active Directory groups ? We have to enrich (add additional claims value) the SAML2 ticket with this information.&lt;/p&gt;  &lt;p&gt;To achieve that, it is pretty simple.&lt;/p&gt;  &lt;p&gt;Let’s assume that only the GGS_Director group can access the web application “Application”, and that James Kirk, as the Enterprise Director, is a member of this Active Directory group : &lt;/p&gt;  &lt;p&gt;&lt;a href="http://myitforum.com/cs2/blogs/forefrontsecurity/image_373907B0.png"&gt;&lt;img style="background-image:none;border-bottom:0px;border-left:0px;margin:0px;padding-left:0px;padding-right:0px;display:inline;border-top:0px;border-right:0px;padding-top:0px;" title="image" border="0" alt="image" src="http://myitforum.com/cs2/blogs/forefrontsecurity/image_thumb_6F0B4BD3.png" width="184" height="244" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;To add claims value in a SAML ticket, we must ask the Claims Provider to search the value in Active Directory, and send this value to the Relying Party. &lt;/p&gt;  &lt;p&gt;On the Claims Provider (Active Directory), add a claims as a Role. In our case : If the user is a member of the GGS_Director group, then a GGS_Director as Role : &lt;/p&gt;  &lt;p&gt;&lt;a href="http://myitforum.com/cs2/blogs/forefrontsecurity/image_7479BC77.png"&gt;&lt;img style="background-image:none;border-bottom:0px;border-left:0px;margin:0px;padding-left:0px;padding-right:0px;display:inline;border-top:0px;border-right:0px;padding-top:0px;" title="image" border="0" alt="image" src="http://myitforum.com/cs2/blogs/forefrontsecurity/image_thumb_175A7E28.png" width="231" height="244" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;For the relying party, just pass through this value&lt;/p&gt;  &lt;p&gt;&lt;a href="http://myitforum.com/cs2/blogs/forefrontsecurity/image_1615E549.png"&gt;&lt;img style="background-image:none;border-bottom:0px;border-left:0px;margin:0px;padding-left:0px;padding-right:0px;display:inline;border-top:0px;border-right:0px;padding-top:0px;" title="image" border="0" alt="image" src="http://myitforum.com/cs2/blogs/forefrontsecurity/image_thumb_29C2CEDD.png" width="231" height="244" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;On the UAG Side, specify that only Owner of the GGS_Director Role can access the application.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://myitforum.com/cs2/blogs/forefrontsecurity/image_3A5AC9CB.png"&gt;&lt;img style="background-image:none;border-bottom:0px;border-left:0px;margin:0px;padding-left:0px;padding-right:0px;display:inline;border-top:0px;border-right:0px;padding-top:0px;" title="image" border="0" alt="image" src="http://myitforum.com/cs2/blogs/forefrontsecurity/image_thumb_794C4A66.png" width="196" height="244" /&gt;&lt;/a&gt;&lt;/p&gt;      &lt;p&gt;Now, when James open the portal, he can see the application, as Janice Rand cannot.&lt;/p&gt;  &lt;p&gt;Easy, isn’t it ? &lt;/p&gt;  &lt;p&gt;But you can say that it is not very convenient, if we must define a rule for each group. &lt;/p&gt;  &lt;p&gt;You can also create a custom rule that query the Active Directory to return all groups that a user is directly member of.&lt;/p&gt;  &lt;p align="right"&gt;&lt;strong&gt;Published by Olivier DETILLEUX&lt;/strong&gt;&lt;/p&gt;&lt;img src="http://myitforum.com/cs2/aggbug.aspx?PostID=158860" width="1" height="1"&gt;</description><category domain="http://myitforum.com/cs2/blogs/forefrontsecurity/archive/tags/Forefront+UAG/default.aspx">Forefront UAG</category><category domain="http://myitforum.com/cs2/blogs/forefrontsecurity/archive/tags/UAG/default.aspx">UAG</category><category domain="http://myitforum.com/cs2/blogs/forefrontsecurity/archive/tags/UAG+SP1/default.aspx">UAG SP1</category><category domain="http://myitforum.com/cs2/blogs/forefrontsecurity/archive/tags/Forefront+UAG+SP1/default.aspx">Forefront UAG SP1</category><category domain="http://myitforum.com/cs2/blogs/forefrontsecurity/archive/tags/ADFS/default.aspx">ADFS</category><category domain="http://myitforum.com/cs2/blogs/forefrontsecurity/archive/tags/ADFS+V2/default.aspx">ADFS V2</category><category domain="http://myitforum.com/cs2/blogs/forefrontsecurity/archive/tags/Active+Diretory/default.aspx">Active Diretory</category><category domain="http://myitforum.com/cs2/blogs/forefrontsecurity/archive/tags/group/default.aspx">group</category><category domain="http://myitforum.com/cs2/blogs/forefrontsecurity/archive/tags/claims/default.aspx">claims</category></item></channel></rss>