ExtendedProtectionPolicy.CustomServiceNames 屬性

定義

取得用來比對用戶端服務主體名稱的自訂服務提供者名稱 (SPN) 清單。

public:
 property System::Security::Authentication::ExtendedProtection::ServiceNameCollection ^ CustomServiceNames { System::Security::Authentication::ExtendedProtection::ServiceNameCollection ^ get(); };
public System.Security.Authentication.ExtendedProtection.ServiceNameCollection? CustomServiceNames { get; }
public System.Security.Authentication.ExtendedProtection.ServiceNameCollection CustomServiceNames { get; }
member this.CustomServiceNames : System.Security.Authentication.ExtendedProtection.ServiceNameCollection
Public ReadOnly Property CustomServiceNames As ServiceNameCollection

屬性值

ServiceNameCollection

ServiceNameCollection,其中包含用來比對用戶端 SPN 的自訂 SPN 清單。

備註

這個唯讀屬性表示用來比對用戶端 SPN 的自訂 SPN 清單。 根據預設,伺服器會根據其已註冊的端點來判斷預設 SPN 清單。 對於需要 SPN 檢查的案例,可以使用 建構函式來指定此屬性,以覆寫用來與用戶端 SPN 相符的預設清單。

適用於

另請參閱