语言

AuthenticationManager 类

定义

公开 Http.Sys 身份验证配置。

public ref class AuthenticationManager sealed
public sealed class AuthenticationManager
type AuthenticationManager = class
Public NotInheritable Class AuthenticationManager
继承
AuthenticationManager

属性

名称 说明
AllowAnonymous

指示匿名请求是否会浮出应用程序或服务器质询。 默认值为 true。

AuthenticationDisplayName

设置登录页上向用户显示的显示名称。 默认值为 null。

AutomaticAuthentication

如果为 true,服务器应设置 HttpContext.User。 如果为 false,则服务器仅在 AuthenticationScheme 显式请求时提供标识。 默认值为 true。

CaptureCredentials

如果为 true,服务器将从启动主机的线程中捕获用户凭据,并在 Kerberos 或 Negotiate 身份验证期间模拟该用户。 必须启用 Kerberos 或 Negotiate 身份验证。 默认值为 false。 此选项映射到本机HTTP_AUTH_EX_FLAG_CAPTURE_CREDENTIAL标志。 https://learn.microsoft.com/windows/win32/api/http/ns-http-http_server_authentication_info

EnableKerberosCredentialCaching

如果为 true,则每个连接保留 Kerberos 身份验证凭据,并重新用于同一连接上的后续匿名请求。 必须启用 Kerberos 或 Negotiate 身份验证。 默认值为 false。 此选项映射到本机HTTP_AUTH_EX_FLAG_ENABLE_KERBEROS_CREDENTIAL_CACHING标志。 https://learn.microsoft.com/windows/win32/api/http/ns-http-http_server_authentication_info

Schemes

附加到现有队列时,此设置必须与用于创建队列的队列匹配。

适用于