Windows Identity Foundation Overview

Slides:



Advertisements
Similar presentations
 Jan Alexander Program Manager Microsoft Corporation BB43.
Advertisements

Adoption Time Single paradigm, mature tools, stable design patterns and frameworks Software developer’s comfort zone Competing paradigms, no tools,
 Kim Cameron Distinguished Engineer Microsoft Corporation BB11.
Larry Mead Microsoft Corp. Jon Flanders Session Code: INT203.
Identity & Access Control in the Cloud Name Title Organization.
Bhushan NeneGrzegorz Gogolowicz Principal ArchitectSenior ArchitectMicrosoft Session Code: DEV304.
Samantha Durante Program Manager Microsoft Corporation WUX305.
Keith Brown Cofounder pluralsight.com SIA312 Outline What is identity? Challenges Federated identity How it works from a 10,000 foot view Terminology.
Linus Joyeux Valerie Alonso Managing consultantLead consultant blue-infinity (Switzerland) Active Directory Federation Services v2.
OFC308 Hilton Giesenow Development Manager - 3fifteen Host –
Scott Morrison Program Manager Microsoft Corporation Session Code: WUX308.
Tech·Ed North America /6/2018 2:20 AM
Tech·Ed  North America /11/ :01 AM SESSION CODE: DEV405
6/26/2018 9:02 PM © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
Microsoft Ajax Taking Ajax to the Next Level
9/11/2018 5:53 PM © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
Tech·Ed North America /14/2018 7:13 PM
Tech·Ed North America /15/2018 3:31 AM
Excel Services Deployment and Administration
Microsoft Visual Studio IDE Futures
SharePoint Online Management and Control
Overview of Social Computing in Microsoft SharePoint 2010
Integrating Microsoft SharePoint 2010 with Windows Azure
Implementing RESTful Services Using the Microsoft .NET Framework
Azure Active Directory
Sysinternals Tutorials
11/22/2018 8:05 PM © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
Advanced Dashboard Creation Using Microsoft SharePoint Server 2010
Windows Identity Foundation Overview
Integrating Security Roles into Microsoft Silverlight Applications
Identity Infrastructure Fundamentals and Key Capabilities
Code Walkthrough of a Cloud Application Running on the Windows Azure Platform
Brian Keller Sr. Technical Evangelist Microsoft Session Code: DEV310
12/5/2018 3:24 PM © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
Tech·Ed North America /5/2018 6:43 PM
Identity and Access Management: Windows Identity Foundation Overview
Best Practices: Creating OData Services using WCF Data Services
Tech·Ed North America /7/2018 2:51 PM
Ben Robb MVP, SharePoint Server cScape Ltd Session Code: OFS207
Office 365 Identity Management
12/27/ :01 PM © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
Authoring for Microsoft Silverlight 4 with Microsoft Expression Blend
Data Driven ASP.NET Web Forms Applications Deep Dive
Tech Ed North America /1/ :36 AM Required Slide
Tech·Ed North America /2/2019 4:47 PM
TechEd /11/ :54 PM © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered.
Tech Ed North America /16/2019 5:46 PM Required Slide
Tech·Ed North America /17/2019 1:47 AM
Tech·Ed North America /17/2019 6:01 PM
Brian Keller Sr. Technical Evangelist Microsoft Session Code: DEV310
Microsoft SharePoint Conference 2009 Jon Flanders
2/16/2019 8:43 AM © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
2/17/2019 7:32 AM © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
Peter Provost Sr. Program Manager Microsoft Session Code: DEV312
Tech·Ed North America /22/2019 7:40 PM
Vittorio Bertocci Principal Technical Evangelist Microsoft
Building Silverlight Apps with RIA Services
2/27/2019 © 2014 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks and/or trademarks.
Tech Ed North America /12/2019 6:45 AM Required Slide
One Marketing Template
Brandon Bray Principal Group Program Manager Microsoft Corporation
A Lap Around Internet Explorer 9 For Developers
Caleb Baker Sr. Program Manager
2010 Microsoft BI Conference
Tech·Ed North America /25/ :53 PM
Hack-proofing your Clients using Windows 7 Security!
Lap Around the Windows Azure Platform
Code First Development in Microsoft ADO.NET Entity Framework 4.1
Building BI applications using PowerPivot for Excel
Presentation transcript:

Windows Identity Foundation Overview Vittorio Bertocci Sr. Architect Evangelist Microsoft Corporation Session Code: SIA305

Agenda Claims-Based Identity Windows Identity Foundation

We are here because of Joe

? ? ! A Primer on Claims Externalizes Authentication Gets user info from the document

Security Token Service Claims Based Access Identity Provider Trust Security Token Service Relying Party Read Policy Authenticate Get Token Read Policy Claims Processing Application Logic Send Token (claims) Establish Session

CBA and the Microsoft Platform Identity Provider AD AD FS 2.0 Security Token Service Relying Party Windows Identity Foundation Claims Processing Application Logic

Externalizing Authentication: it's easy! demo Externalizing Authentication: it's easy!

Essential claims programming model Claims OM integrated with the .NET identity API Single programming model for ASP.NET & WCF Config driven Single programming model for on-premises & cloud Tools for metadata-driven automatic app configuration WS-Federation, WS-Trust Framework for custom STS development And more…

Claims Object Model void Page_Load(object sender, EventArgs e) { IClaimsPrincipal icp = (IClaimsPrincipal) Thread. CurrentPrincipal; IClaimsIdentity claimsIdentity = (IClaimsIdentity)icp.Identity; ageClaimValue = ( from c in claimsIdentity.Claims where c.ClaimType == "http://MyAppNamespace/AgeClaim" select c.Value ).Single(); } Claim IClaimsIdentity IClaimsPrincipal Subject Claims Identities Issuer Claim IClaimsIdentity OriginalIssuer Delegate ClaimType IIdentity AuthenticationType IsAuthenticated Name IPrincipal IsInRole Value Identity ValueType

Visual Studio Integration FedUtil.exe Utility which configures an application to establish a trust relationship with an STS Fully integrated in the Visual Studio IDE Visual Studio project templates

ASP.NET Controls Controls you drag on ASP.NET pages for adding key identity capabilities FederatedPassiveSignIn When clicked, initiates the ws-federation sign in sequence SignInStatus

WIF ASP.NET Modules HTTPModule(s) in the ASP.NET pipeline of the app They take care of exposing policy, manage protocol redirects, establish sessions… WSFederationAuthenticationModule Implements the WS-Federation redirects protocol SessionAuthenticationModule Takes care of handling sessions (regardless of the sign-in protocol) ClaimsPrincipalHttpModule Provides a hook for injecting claims in the current principal

demo FabrikamShipping

C Processing Pipeline WSFAM SecurityTokenHandler 01100010101101000 WSFAM SecurityTokenHandler ClaimsAuthenticationManager SessionAuthenticationModule C ClaimsAuthorizationManager Application Logic

Authorization ASP.NET roles will work “as is” IsInRole, <authorization> element Any incoming claim type can be indicated as role Claims authorization can be much more sophisticated that RBAC Age thresholds, dates, spending limits… WIF offers a hook for your authz logic ClaimsAuthorizationManager class Provide your implementation of CheckAccess Add it in the WIF pipeline via config

WCF Same programming model as ASP.NET… …different hosting architecture Self-Hosted services: Call FederatedServiceCredentials.ConfigureServiceHost(host) on your ServiceHost before Opening it Web activated services: Derive a new factory from ServiceHostFactory Override CreateServiceHost and use the above ConfigureServiceHost call in it Use your custom factory in the @ServiceHost directive of your .svc file

Authorization & Services in FabrikamShipping demo Authorization & Services in FabrikamShipping

Custom Development STS WIF provides building blocks for custom STS development AD FS 2.0 is built with WIF! Same programming model for all hosting options Active: WCF Passive: ASP.NET Wizards & Templates create a skeleton STS in no time Perfect for testing purposes Main activities Decide who to trust Decide which kind of credentials you’ll accept Provide all the cryptographic material for signing & encrypting Hook in the logic for retrieving claim values

Delegated Access Identity Provider ActAs STS Trust Trust Frontend AD FS 2.0/ WIF AD FS 2.0 Trust Trust Frontend Backend Get Token Send Token (claims) WIF Application Logic WIF Application Logic Establish Session

Delegation & Custom STS in FabrikamShipping demo Delegation & Custom STS in FabrikamShipping

Claims to Windows Token Service (c2WTS) Creates impersonation-level Windows access token from generic tokens (SAML, X509) Windows service running as local account Impersonates the user indicated by a UPN claim http://schemas.xmlsoap.org/ws/2005/05/identity/claims/upn

Summary Externalizing authentication is the best approach for reducing complexity Developing claims aware applications is the best way of externalizing identity management On-premises and in the cloud On any platform where standard protocols implementations are available Windows Identity Foundation helps developers at all levels to write claims aware applications

question & answer

Resources Required Slide Speakers, www.microsoft.com/teched TechEd 2009 is not producing a DVD. Please announce that attendees can access session recordings at TechEd Online. Resources www.microsoft.com/teched Sessions On-Demand & Community www.microsoft.com/learning Microsoft Certification & Training Resources http://microsoft.com/technet Resources for IT Professionals http://microsoft.com/msdn Resources for Developers

Download the Samples You Saw in This Session FabrikamShipping http://code.msdn.microsoft.com/FabrikamShipping Claims-driven ASP.NET controls http://code.msdn.microsoft.com/ClaimsDrivenControl

Resources Entry page on Microsoft.com MSDN Forums Videos Blogs http://www.microsoft.com/forefront/iam MSDN Forums http://social.msdn.microsoft.com/Forums/en-US/Geneva/threads/ Videos http://channel9.msdn.com/identity/ Blogs http://blogs.msdn.com/card http://blogs.msdn.com/vbertocci/

Related Content Required Slide Speakers, Breakout Sessions please list the Breakout Sessions, TLC Interactive Theaters and Labs that are related to your session. Related Content Breakout Sessions SIA204 Understanding Claims-Based Applications: An Overview of Active Directory Federation Services (AD FS) v2, Windows Identity Foundation, and CardSpace Interactive Theater Sessions ITS212 Microsoft IT: Federating the Enterprise Using Microsoft Code Name "Geneva" Hands-on Labs SIA26-HOL

Complete an evaluation on CommNet and enter to win an Xbox 360 Elite!

Required Slide © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.