76 lines
4.4 KiB
XML
76 lines
4.4 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<!-- For more information on using web.config transformation visit http://go.microsoft.com/fwlink/?LinkId=125889 -->
|
|
|
|
<configuration xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform">
|
|
<!--
|
|
In the example below, the "SetAttributes" transform will change the value of
|
|
"connectionString" to use "ReleaseSQLServer" only when the "Match" locator
|
|
finds an attribute "name" that has a value of "MyDB".
|
|
|
|
<connectionStrings>
|
|
<add name="MyDB"
|
|
connectionString="Data Source=ReleaseSQLServer;Initial Catalog=MyReleaseDB;Integrated Security=True"
|
|
xdt:Transform="SetAttributes" xdt:Locator="Match(name)"/>
|
|
</connectionStrings>
|
|
-->
|
|
<configSections>
|
|
<section name="system.identityModel" type="System.IdentityModel.Configuration.SystemIdentityModelSection, System.IdentityModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" xdt:Transform="Insert"/>
|
|
<section name="system.identityModel.services" type="System.IdentityModel.Services.Configuration.SystemIdentityModelServicesSection, System.IdentityModel.Services, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" xdt:Transform="Insert"/>
|
|
</configSections>
|
|
<appSettings>
|
|
<add key="ida:FederationMetadataLocation" value="https://sts1.nelnet.net/federationmetadata/2007-06/federationmetadata.xml" xdt:Transform="Insert"/>
|
|
<add key="ida:Issuer" value="https://sts1.nelnet.net/adfs/ls/" xdt:Transform="Insert" />
|
|
<add key="ida:ProviderSelection" value="productionSTS" xdt:Transform="Insert" />
|
|
</appSettings>
|
|
<location path="FederationMetadata" xdt:Transform="Insert">
|
|
<system.web>
|
|
<authorization>
|
|
<allow users="*" />
|
|
</authorization>
|
|
</system.web>
|
|
</location>
|
|
<system.web xdt:Transform="Insert">
|
|
<authorization>
|
|
<deny users="?" />
|
|
</authorization>
|
|
<machineKey decryptionKey="D156AB8D1C339494BE2B924C1F935DC828A292B6ACAEFCF7" validationKey="B223E0F2F1A26E0A00BEB66943C99CC42AE39ABECE9A83AA8E76E4ED5FDF7562D3C2ABB3E822BC80C3E36CE66ED4C9D42ADC5C9995623FB600B6314A84D507EE" />
|
|
</system.web>
|
|
<system.webServer>
|
|
<modules>
|
|
<remove name="FormsAuthentication" xdt:Transform="Insert" />
|
|
<add name="WSFederationAuthenticationModule" type="System.IdentityModel.Services.WSFederationAuthenticationModule, System.IdentityModel.Services, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" preCondition="managedHandler" xdt:Transform="Insert"/>
|
|
<add name="SessionAuthenticationModule" type="System.IdentityModel.Services.SessionAuthenticationModule, System.IdentityModel.Services, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" preCondition="managedHandler" xdt:Transform="Insert" />
|
|
</modules>
|
|
</system.webServer>
|
|
<system.identityModel xdt:Transform="Insert" >
|
|
<identityConfiguration>
|
|
<audienceUris>
|
|
<add value="https://plainit.azurewebsites.net/" />
|
|
</audienceUris>
|
|
<issuerNameRegistry type="System.IdentityModel.Tokens.ValidatingIssuerNameRegistry, System.IdentityModel.Tokens.ValidatingIssuerNameRegistry">
|
|
<authority name="http://sts1.nelnet.net/adfs/services/trust">
|
|
<keys>
|
|
<add thumbprint="E1C1306E84E0B03B97C4C5073FA939DB268D7F00" />
|
|
</keys>
|
|
<validIssuers>
|
|
<add name="http://sts1.nelnet.net/adfs/services/trust" />
|
|
</validIssuers>
|
|
</authority>
|
|
</issuerNameRegistry>
|
|
<!--certificationValidationMode set to "None" by the the Identity and Access Tool for Visual Studio. For development purposes.-->
|
|
<certificateValidation certificateValidationMode="None" />
|
|
<securityTokenHandlers>
|
|
<add type="System.IdentityModel.Services.Tokens.MachineKeySessionSecurityTokenHandler, System.IdentityModel.Services, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
|
|
<remove type="System.IdentityModel.Tokens.SessionSecurityTokenHandler, System.IdentityModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
|
|
</securityTokenHandlers>
|
|
</identityConfiguration>
|
|
</system.identityModel>
|
|
<system.identityModel.services xdt:Transform="Insert" >
|
|
<federationConfiguration>
|
|
<cookieHandler requireSsl="true" />
|
|
<wsFederation passiveRedirectEnabled="true" issuer="https://sts1.nelnet.net/adfs/ls/" realm="https://plainit.azurewebsites.net/" requireHttps="true" />
|
|
</federationConfiguration>
|
|
</system.identityModel.services>
|
|
|
|
</configuration> |