Clarity, Technology, and Solving Problems | PracticeThis.com
WP7 App with Key Windows Azure resources – Slides, Videos, How-To’s, and T-shooting – for quick consumption on the go.
I have just published Windows Identity Foundation (WIF) and Azure AppFabric Access Control (ACS) Service Survival Guide.
It has the following structure:
Constructive feedback on how to improve much appreciated.
This post outlines common configuration settings in web.config related to Windows Identity Foundation (WIF) when used with ASP.NET applications.
Below is the summary of common configuration setting related to WIF:
Rest of this post cover details of each configuration
<authorization> <deny users="?" /> </authorization> <authentication mode="None" />
<add name="WSFederationAuthenticationModule" type="Microsoft.IdentityModel.Web.WSFederationAuthenticationModule, Microsoft.IdentityModel, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
<add name="SessionAuthenticationModule" type="Microsoft.IdentityModel.Web.SessionAuthenticationModule, Microsoft.IdentityModel, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
<add name="ClaimsAuthorizationModule" type="Microsoft.IdentityModel.Web.ClaimsAuthorizationModule, Microsoft.IdentityModel, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
<configSections> <section name="microsoft.identityModel" type="Microsoft.IdentityModel.Configuration.MicrosoftIdentityModelSection, Microsoft.IdentityModel, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" /> </configSections>
<microsoft.identityModel> <service> <audienceUris> <add value="http://localhost:10130/MigrateWindowsAuthenticationToWIF" /> </audienceUris>
<federatedAuthentication> <wsFederation passiveRedirectEnabled="true" issuer="http://localhost:8000/STS/Issue/" realm="http://localhost:10130/MigrateWindowsAuthenticationToWIF" requireHttps="false" /> <cookieHandler requireSsl="false" /> </federatedAuthentication>
<serviceCertificate> <certificateReference x509FindType="FindBySubjectDistinguishedName" findValue="CN=adatum" storeLocation="LocalMachine" storeName="My" /> </serviceCertificate>
<issuerNameRegistry type="Microsoft.IdentityModel.Tokens.ConfigurationBasedIssuerNameRegistry, Microsoft.IdentityModel, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"> <trustedIssuers> <add thumbprint="313D3B54E2140192A8C7ED626332B6BF9106A9EC" name="SelfSTS" /> </trustedIssuers>