Compartir a través de


<localIssuer>

Specifies the local issuer address of the token and the binding used to communicate to the endpoint.

<system.serviceModel>

  <behaviors>

    <endpointBehaviors>

      <behavior> of <endpointBehaviors>

        <clientCredentials>

          <issuedToken>

                                    
                                    <localIssuer address="string" 
                                
                                    
                                    binding="string" 
                                
                                    
                                    bindingConfiguration="string" />
                                

Attributes and Elements

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

Attributes

Attribute Description

address

Required string. Specifies the URI of the local issuer.

binding

Optional string. One of the system-provided bindings. For a list, see System-Provided Bindings.

bindingConfiguration

Optional string. Specifies a binding configuration found in the configuration file.

Child Elements


Element Description

<identity>

When using an issued token, specifies settings that enable the client to authenticate the server.

<headers> element

A collection of headers.

Parent Elements

Element Description

<issuedToken>

Specifies a custom token used to authenticate a client to a service.

Remarks

Security tokens are used in federated scenarios where a Secure Token Service (STS) is first contacted for the token. If the STS does not issue a token, the client will contact the local issuer as defined here for any tokens it requires.

Example

The following example sets the address, binding, and bindingConfiguration attributes of a localIssuer element.

<system.serviceModel>
 <behaviors>
 <endpointBehaviors>
  <behavior name="MyEndpointBehavior">
   <clientCredentials>
    <issuedToken cacheIssuedTokens="false" 
                 defaultKeyEntropyMode="ClientEntropy">
     <localIssuer address="net.tcp://cohowinery/tokens" 
                  binding="netTcpBinding"
                  bindingConfiguration="myTcpBindingConfig" />
    </issuedToken>
   </clientCredentials>
  </behavior>
  </endpointBehaviors>
  </behaviors>
</system.serviceModel>

See Also

Other Resources

Specifying Service Identity
Security Behaviors in Windows Communication Foundation
Federation and SAML

Footer image

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