React to WebListener AllowAnonymous API change.
This commit is contained in:
parent
0d15c62754
commit
a8bc80e6b2
|
|
@ -33,8 +33,9 @@ namespace ServerComparison.TestSites.Standalone
|
||||||
// modify the applicationHost.config to enable NTLM.
|
// modify the applicationHost.config to enable NTLM.
|
||||||
builder.UseWebListener(options =>
|
builder.UseWebListener(options =>
|
||||||
{
|
{
|
||||||
|
options.Listener.AuthenticationManager.AllowAnonymous = true;
|
||||||
options.Listener.AuthenticationManager.AuthenticationSchemes =
|
options.Listener.AuthenticationManager.AuthenticationSchemes =
|
||||||
AuthenticationSchemes.Negotiate | AuthenticationSchemes.NTLM | AuthenticationSchemes.AllowAnonymous;
|
AuthenticationSchemes.Negotiate | AuthenticationSchemes.NTLM;
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
|
||||||
|
|
@ -33,8 +33,9 @@ namespace ServerComparison.TestSites
|
||||||
// modify the applicationHost.config to enable NTLM.
|
// modify the applicationHost.config to enable NTLM.
|
||||||
builder.UseWebListener(options =>
|
builder.UseWebListener(options =>
|
||||||
{
|
{
|
||||||
|
options.Listener.AuthenticationManager.AllowAnonymous = true;
|
||||||
options.Listener.AuthenticationManager.AuthenticationSchemes =
|
options.Listener.AuthenticationManager.AuthenticationSchemes =
|
||||||
AuthenticationSchemes.Negotiate | AuthenticationSchemes.NTLM | AuthenticationSchemes.AllowAnonymous;
|
AuthenticationSchemes.Negotiate | AuthenticationSchemes.NTLM;
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue