Partager via


<httpDigest> Element

Specifies a digest type credential used when authenticating the client to a service.

<system.serviceModel>

  <behaviors>

    <endpointBehaviors>

      <behavior> of <endpointBehaviors>

        <clientCredentials>

          <httpDigest> Element

                                    
                                    <digest impersonationLevel="Identification/Impersonation/Delegation/Anonymous/None" />
                                

Attributes and Elements

The following sections describe attributes, child elements, and parent elements.

Attributes

Attribute Description

impersonationLevel

Sets the impersonation preference that the client communicates to the server. The impersonation mode that the client selects is not enforced on the server. Valid values include the following:

  • Identification: The server can get the identity and privileges of the client, but cannot impersonate the client.

  • Impersonation: The server can impersonate the client's security context on the local system.

  • Delegation: The server can impersonate the client's security context on remote systems.

  • Anonymous: The server cannot impersonate or identify the client.

  • None: An impersonation level is not assigned.

The default is Identification. This attribute is of type TokenImpersonationLevel.

Child Elements

None

Parent Elements

Element Description

<clientCredentials>

Specifies the credentials used to authenticate a client to a service.

Remarks

A digest is a hash determined by using an algorithm and a set of inputs. The authenticator and the authenticated agree upon an algorithm and exchange the data used as inputs. The client can calculate the hash and send it to the service. The service also calculates the hash and compares the values. A match validates the client.

See Also

Reference

HttpDigestClientElement

Footer image

Send comments about this topic to Microsoft.
© Microsoft Corporation. All rights reserved.