<security> de <netPeerBinding><security> of <netPeerBinding>
Define as configurações de segurança do <netPeerTcpBinding> , incluindo o tipo de autenticação usado e a segurança usada para o transporte de mensagens.Defines the security settings of the <netPeerTcpBinding>, including the type of authentication used and the security used for the message transport.
<configuration>
<system.serviceModel>
<bindings>
<netPeerTcpBinding>
<binding>
<security>
SyntaxSyntax
<netPeerBinding>
<binding>
<security mode="Message/None/Transport//TransportWithMessageCredential">
<transport credentialType="Certificate/Password" />
</security>
</binding>
</netPeerBinding>
Atributos e elementosAttributes and Elements
As seções a seguir descrevem atributos, elementos filho e elementos paiThe following sections describe attributes, child elements, and parent elements
AtributosAttributes
AtributoAttribute | DescriçãoDescription |
---|---|
modemode | Opcional.Optional. Especifica o tipo de segurança usado por pares configurados com essa associação.Specifies the type of security used by peers configured with this binding. O valor padrão é Message .The default value is Message . Esse atributo é do tipo SecurityMode .This attribute is of type SecurityMode. |
Atributo de modomode Attribute
ValorValue | DescriçãoDescription |
---|---|
MensagemMessage | A segurança SOAP fornece autenticação, integridade e confidencialidade.SOAP security provides authentication, integrity and confidentiality. |
NenhumNone | A segurança é desabilitada.Security is disabled. |
TransportTransport | A proteção é fornecida usando HTTPS.Security is provided using HTTPS. |
TransportWithMessageCredentialTransportWithMessageCredential | O HTTPS fornece autenticação e confidencialidade.HTTPS provides authentication and confidentiality. As mensagens SOAP fornecem tipos de credenciais avançados.SOAP messages provide rich credential types. |
Elementos filhoChild Elements
ElementoElement | DescriçãoDescription |
---|---|
<transport> | Define o tipo de transporte para mensagens protegidas enviadas por pares configurados com essa associação.Defines the transport type for secured messages sent by peers configured with this binding. Esse elemento é do tipo PeerTransportSecurityElement .This element is of type PeerTransportSecurityElement. |
Elementos paiParent Elements
ElementoElement | DescriçãoDescription |
---|---|
<binding> | Define todos os recursos de associação do <netPeerTcpBinding> .Defines all binding capabilities of the <netPeerTcpBinding>. |
ComentáriosRemarks
A segurança pode ser específica de mensagens ou de transporte.Security can be either message- or transport-specific.
Consulte tambémSee also
- PeerSecurityElement
- Security
- Security
- PeerSecuritySettings
- Protegendo serviços e clientesSecuring Services and Clients
- Selecionando um tipo de credencialSelecting a Credential Type
- AssociaçõesBindings
- Configurando associações fornecidas pelo sistemaConfiguring System-Provided Bindings
- Usando associações para configurar serviços e clientesUsing Bindings to Configure Services and Clients
- <binding>