<security> of <netPeerBinding>
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>
Syntax
<netPeerBinding>
<binding>
<security mode="Message/None/Transport//TransportWithMessageCredential">
<transport credentialType="Certificate/Password" />
</security>
</binding>
</netPeerBinding>
Attributes and Elements
The following sections describe attributes, child elements, and parent elements
Attributes
Attribute | Description |
---|---|
mode | Optional. Specifies the type of security used by peers configured with this binding. The default value is Message . This attribute is of type SecurityMode. |
mode Attribute
Value | Description |
---|---|
Message | SOAP security provides authentication, integrity and confidentiality. |
None | Security is disabled. |
Transport | Security is provided using HTTPS. |
TransportWithMessageCredential | HTTPS provides authentication and confidentiality. SOAP messages provide rich credential types. |
Child Elements
Element | Description |
---|---|
<transport> | Defines the transport type for secured messages sent by peers configured with this binding. This element is of type PeerTransportSecurityElement. |
Parent Elements
Element | Description |
---|---|
<binding> | Defines all binding capabilities of the <netPeerTcpBinding>. |
Remarks
Security can be either message- or transport-specific.
See also
Sodelujte z nami v storitvi GitHub
Vir za to vsebino najdete v storitvi GitHub, kjer lahko tudi ustvarite in pregledate težave in zahtevke za uveljavitev sprememb. Če želite več informacij, glejte naš vodnik za sodelavce.