FederatedMessageSecurityOverHttpElement.NegotiateServiceCredential Propriedade
Definição
Obtém ou define um valor que especifica se a credencial do serviço é trocada como parte da negociação.Gets or sets a value that specifies whether the service credential is exchanged as part of the negotiation.
public:
property bool NegotiateServiceCredential { bool get(); void set(bool value); };
[System.Configuration.ConfigurationProperty("negotiateServiceCredential", DefaultValue=Mono.Cecil.CustomAttributeArgument)]
public bool NegotiateServiceCredential { get; set; }
[<System.Configuration.ConfigurationProperty("negotiateServiceCredential", DefaultValue=Mono.Cecil.CustomAttributeArgument)>]
member this.NegotiateServiceCredential : bool with get, set
Public Property NegotiateServiceCredential As Boolean
Valor da propriedade
true se a credencial de serviço for negociada; false se a credencial de serviço estiver disponível fora de banda.true if the service credential is negotiated; false if the service credential is available out-of-band. O padrão é true.The default is true.
- Atributos
Comentários
Essa propriedade indica se a credencial de serviço é negociada automaticamente entre o cliente e o serviço.This property indicates whether the service credential is negotiated automatically between the client and the service. Se essa propriedade for true , essa negociação ocorrerá.If this property is true, then such negotiation occurs. Se essa propriedade for false , as credenciais de serviço deverão ser especificadas no cliente antes que a comunicação com o serviço possa ocorrer.If this property is false, then the service credentials must be specified at the client before communication with the service can occur.
Se essa propriedade for definida como false e a associação estiver configurada para usar o Windows como um tipo de credencial de cliente, a conta de serviço deverá ser associada a um SPN (nome da entidade de serviço).If this property is set to false, and the binding is configured to use Windows as a client credential type, the service account must be associated with a Service Principal Name (SPN). Para fazer isso, execute o serviço na conta de serviço de rede ou na conta sistema LOCAL.To do this, run the service under the NETWORK SERVICE account, or LOCAL SYSTEM account. Como alternativa, use a ferramenta SetSpn.exe para criar um SPN para a conta de serviço.Alternatively, use the SetSpn.exe tool to create an SPN for the service account. Em ambos os casos, o cliente deve usar o SPN correto no elemento < servicePrincipalName > ou usando o EndpointAddress Construtor.In either case, the client must use the correct SPN in the <servicePrincipalName> element, or by using the EndpointAddress constructor. Para obter mais informações, consulte identidade de serviço e autenticação.For more information, see Service Identity and Authentication.