зеркало из https://github.com/aspnet/ServerTests.git
React to auth API changes. Remove extra dependencies.
This commit is contained in:
Родитель
870c430f8f
Коммит
b64618bc2d
|
@ -48,8 +48,6 @@ namespace ServerComparison.TestSites
|
|||
{
|
||||
loggerFactory.AddConsole(minLevel: LogLevel.Warning);
|
||||
|
||||
app.UseErrorPage(ErrorPageOptions.ShowAll);
|
||||
|
||||
// Set up NTLM authentication for WebListener like below.
|
||||
// For IIS and IISExpress: Use inetmgr to setup NTLM authentication on the application vDir or modify the applicationHost.config to enable NTLM.
|
||||
if ((app.Server as ServerInformation) != null)
|
||||
|
@ -73,7 +71,7 @@ namespace ServerComparison.TestSites
|
|||
}
|
||||
else
|
||||
{
|
||||
context.Response.Challenge();
|
||||
context.Authentication.Challenge();
|
||||
return Task.FromResult(0);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -4,8 +4,6 @@
|
|||
|
||||
"dependencies": {
|
||||
"Kestrel": "1.0.0-*",
|
||||
"Microsoft.AspNet.Diagnostics": "1.0.0-*",
|
||||
"Microsoft.AspNet.Http.Core": "1.0.0-*",
|
||||
"Microsoft.AspNet.Server.IIS": "1.0.0-*",
|
||||
"Microsoft.AspNet.Server.WebListener": "1.0.0-*",
|
||||
"Microsoft.AspNet.WebUtilities": "1.0.0-*",
|
||||
|
|
Загрузка…
Ссылка в новой задаче