設定整合式Windows 驗證。
Syntax
class WindowsAuthenticationSection : ConfigurationSectionWithCollection
方法
下表列出 類別所 WindowsAuthenticationSection 公開的方法。
| 名稱 | 描述 |
|---|---|
| 加入 | (繼承自 ConfigurationSectionWithCollection.) |
| 清除 | (繼承自 ConfigurationSectionWithCollection。) |
| Get | (繼承自 ConfigurationSectionWithCollection。) |
| GetAllowDefinition | (繼承自 ConfigurationSection.) |
| GetAllowLocation | (繼承自 ConfigurationSection。) |
| 移除 | (繼承自 ConfigurationSectionWithCollection。) |
| RevertToParent | (繼承自 ConfigurationSection。) |
| SetAllowDefinition | (繼承自 ConfigurationSection。) |
| SetAllowLocation | (繼承自 ConfigurationSection。) |
屬性
下表列出 類別所 WindowsAuthenticationSection 公開的屬性。
| 名稱 | 描述 |
|---|---|
AuthPersistNonNTLM |
讀取/寫入 boolean 值。 true 如果 IIS 會自動重新驗證每個非 NTLM (,例如 Kerberos) 要求,甚至是相同連線上的要求;否則為 false 。 預設值為 false。 注意: 的 false 設定表示用戶端只會在同一個連線上驗證一次。 IIS 會在伺服器上快取權杖或票證,以取得持續建立的 TCP 會話。 |
AuthPersistSingleRequest |
讀取/寫入 boolean 值。 true 如果 IIS 會自動重新驗證每個 NTLM 要求,甚至是相同連線上的要求;否則為 false 。 預設值為 false。 注意: 的 false 設定表示用戶端只會在同一個連線上驗證一次。 IIS 會在伺服器上快取權杖或票證,以取得持續建立的 TCP 會話。 |
Enabled |
讀取/寫入 boolean 值。 true如果已啟用整合式Windows 驗證,則為 ,否則為 false 。 預設值為 false。 |
Location |
(繼承自 ConfigurationSection .) 金鑰屬性。 |
Path |
(繼承自 ConfigurationSection .) 金鑰屬性。 |
Providers |
AuthenticationProviderSettings值,指定用於整合式Windows 驗證的安全性支援提供者。 |
SectionInformation |
(繼承自 ConfigurationSection。) |
UseKernelMode |
讀取/寫入 boolean 值。 true如果在核心模式中完成整合式Windows 驗證,則為 ,否則為 false 。 預設值為 true。 注意: 使用核心模式可改善驗證效能。 不過,如果您想要在 Web 服務器陣列中使用 Kerberos 通訊協定,您可以將此屬性設定為 false 。 |
子類別
這個類別不包含子類別。
繼承階層架構
ConfigurationSectionWithCollection
WindowsAuthenticationSection
規格需求
| 類型 | 描述 |
|---|---|
| Client | - Windows Vista 上的 IIS 7.0 - Windows 7 上的 IIS 7.5 - Windows 8 上的 IIS 8.0 - Windows 10上的 IIS 10.0 |
| 伺服器 | - Windows Server 2008 上的 IIS 7.0 - Windows Server 2008 R2 上的 IIS 7.5 - Windows Server 2012 上的 IIS 8.0 - Windows Server 2012 R2 上的 IIS 8.5 - Windows Server 2016上的 IIS 10.0 |
| 產品 | - IIS 7.0、IIS 7.5、IIS 8.0、IIS 8.5、IIS 10.0 |
| MOF 檔案 | WebAdministration.mof |
另請參閱
AnonymousAuthenticationSection 類別
AuthenticationProviderSettings 類別
AuthenticationSection 類別
BasicAuthenticationSection 類別
ClientCertificateMappingAuthenticationSection 類別
ConfigurationSectionWithCollection 類別
DigestAuthenticationSection 類別
FormsAuthenticationConfiguration 類別
FormsAuthenticationCredentials 類別
FormsAuthenticationUser 類別
IisClientCertificateMappingAuthenticationSection 類別
PassportAuthentication 類別
StringElement 類別