ExtendedProtectionPolicy.CustomServiceNames Property

Definition

Gets the custom Service Provider Name (SPN) list used to match against a client's SPN.

public System.Security.Authentication.ExtendedProtection.ServiceNameCollection? CustomServiceNames { get; }
public System.Security.Authentication.ExtendedProtection.ServiceNameCollection CustomServiceNames { get; }

Property Value

A ServiceNameCollection that contains the custom SPN list that is used to match against a client's SPN.

Remarks

This read-only property indicates the custom SPN list that is used to match against a client's SPN. By default, the server will determine a default SPN list according to its registered endpoints. For scenarios which require SPN checking, this property can be specified using a using a constructor to override the default list used to match against the client's SPN.

Applies to

Prodotto Versioni
.NET Core 1.0, Core 1.1, Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
.NET Standard 2.0, 2.1

See also