<servicePrincipalName>
Specifies the identity of a service by its Service Principal Name (SPN).
For more information about setting the SPN, see Service Identity and Authentication.
<configuration>
<system.serviceModel>
<client>
<endpoint>
<identity>
<servicePrincipalName>
Syntax
<servicePrincipalName value="String" />
Attributes and Elements
The following sections describe attributes, child elements, and parent elements
Attributes
Attribute | Description |
---|---|
value | The name by which a client uniquely identifies an instance of a service. If you install multiple instances of a service on computers throughout a forest, each instance must have its own SPN. A given service instance can have multiple SPNs if there are multiple names that clients might use for authentication. |
Child Elements
None.
Parent Elements
Element | Description |
---|---|
<identity> | Specifies the identity of the service to be authenticated by the client. |
Remarks
A secure Windows Communication Foundation (WCF) client that connects to an endpoint with this identity uses the SPN when performing SSPI authentication with the endpoint.
See also
Samarbeid med oss på GitHub
Du finner kilden for dette innholdet på GitHub. Der du også kan opprette og se gjennom problemer og pull-forespørsler. Hvis du vil ha mer informasjon, kan du se vår bidragsyterveiledning.