From a8bc80e6b29b7087fedaea9fa689413d9b15aff4 Mon Sep 17 00:00:00 2001 From: Chris R Date: Mon, 8 Aug 2016 09:50:32 -0700 Subject: [PATCH] React to WebListener AllowAnonymous API change. --- test/ServerComparison.TestSites.Standalone/Program.cs | 3 ++- test/ServerComparison.TestSites/Program.cs | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/test/ServerComparison.TestSites.Standalone/Program.cs b/test/ServerComparison.TestSites.Standalone/Program.cs index 0500b08856..6c63b24ab6 100644 --- a/test/ServerComparison.TestSites.Standalone/Program.cs +++ b/test/ServerComparison.TestSites.Standalone/Program.cs @@ -33,8 +33,9 @@ namespace ServerComparison.TestSites.Standalone // modify the applicationHost.config to enable NTLM. builder.UseWebListener(options => { + options.Listener.AuthenticationManager.AllowAnonymous = true; options.Listener.AuthenticationManager.AuthenticationSchemes = - AuthenticationSchemes.Negotiate | AuthenticationSchemes.NTLM | AuthenticationSchemes.AllowAnonymous; + AuthenticationSchemes.Negotiate | AuthenticationSchemes.NTLM; }); } else diff --git a/test/ServerComparison.TestSites/Program.cs b/test/ServerComparison.TestSites/Program.cs index f272541cb8..d85b138e76 100644 --- a/test/ServerComparison.TestSites/Program.cs +++ b/test/ServerComparison.TestSites/Program.cs @@ -33,8 +33,9 @@ namespace ServerComparison.TestSites // modify the applicationHost.config to enable NTLM. builder.UseWebListener(options => { + options.Listener.AuthenticationManager.AllowAnonymous = true; options.Listener.AuthenticationManager.AuthenticationSchemes = - AuthenticationSchemes.Negotiate | AuthenticationSchemes.NTLM | AuthenticationSchemes.AllowAnonymous; + AuthenticationSchemes.Negotiate | AuthenticationSchemes.NTLM; }); } else