Compartilhar via


<serviceCredentials>

Specifies the credential to be used in authenticating the service and the client credential validation-related settings.

Schema Hierarchy

<system.serviceModel>
  <behaviors>
    <serviceBehaviors>
      <behavior> of <serviceBehaviors>
        <serviceCredentials>

Syntax

<serviceCredentials type="String">
   <clientCertificate>
   </clientCertificate>
   <issuedTokenAuthentication>
   </issuedTokenAuthentication>
   <peer>
   </peer>
   <secureConversationAuthentication>
   </secureConversationAuthentication>
   <serviceCertificate>
   </serviceCertificate>
   <userNameAuthentication>
   </userNameAuthentication>
   <windowsAuthentication>
   </windowsAuthentication>
</serviceCredentials>

Attributes and Elements

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

Attributes

Attribute Description

type

A string that specifies the type of this configuration element.

Child Elements

Element Description

<clientCertificate> of <serviceCredentials>

Specifies the certificate to be used when the client certificate is available out-of-band. This element also specifies client certificate validation settings. This element is of type X509InitiatorCertificateServiceElement.

<issuedTokenAuthentication> of <serviceCredentials>

Specifies the current issued token for this service. This element is of type IssuedTokenServiceElement.

<peer> of <serviceCredentials>

Specifies the current credentials for a peer node. This element is of type PeerCredentialElement.

<secureConversationAuthentication> of <serviceCredential>

Specifies the current credentials for a secure conversation. This element is of type SecureConversationServiceElement.

<serviceCertificate> of <serviceCredentials>

Specifies a certificate used by a service to identify itself. This element is of type X509RecipientCertificateServiceElement.

<userNameAuthentication>

Specifies the settings for username password validation. This element is of type UserNameServiceElement.

<windowsAuthentication> of <serviceCredentials>

Specifies the settings for Windows credential validation. This element is of type WindowsServiceElement.

Parent Elements

Element Description

<behavior> of <endpointBehaviors>

Specifies a behavior element.

See Also

Reference

ServiceCredentialsElement
ServiceCredentials

Other Resources

Security Behaviors in WCF


© 2007 Microsoft Corporation. All rights reserved.
Last Published: 2010-01-05