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.
|
||||
builder.UseWebListener(options =>
|
||||
{
|
||||
options.Listener.AuthenticationManager.AllowAnonymous = true;
|
||||
options.Listener.AuthenticationManager.AuthenticationSchemes =
|
||||
AuthenticationSchemes.Negotiate | AuthenticationSchemes.NTLM | AuthenticationSchemes.AllowAnonymous;
|
||||
AuthenticationSchemes.Negotiate | AuthenticationSchemes.NTLM;
|
||||
});
|
||||
}
|
||||
else
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue