导出 (0) 打印
全部展开
展开 最小化

EndToEndBasicHttpSecurityMode 枚举

注:本页面内容可能不完全适用中国大陆地区运营的 Windows Azure服务。如要了解不同地区 Windows Azure 服务的差异, 请参考本网站.

一个枚举类型,用于指定可用于 BasicHttpRelayBinding 的安全模式。

命名空间:  Microsoft.ServiceBus
程序集:  Microsoft.ServiceBus(在 Microsoft.ServiceBus.dll 中)

public enum EndToEndBasicHttpSecurityMode

成员名称说明
Message使用 WS-Security SOAP 消息安全性提供安全性。对于 BasicHttpRelayBinding,系统要求单独向客户端提供服务器证书。此绑定的有效客户端凭据类型为 UserNameCertificate
None消息在传输期间不受保护。
Transport使用 HTTPS 提供安全性。必须使用 SSL 证书配置服务。使用 HTTPS 将 SOAP 消息作为一个整体进行保护。客户端使用服务的 SSL 证书对服务进行身份验证。通过 ClientCredentialType 控制客户端身份验证。
TransportWithMessageCredentialHTTPS 提供完整性、机密性和服务器身份验证。必须使用证书配置服务。通过 SOAP 消息安全性提供客户端身份验证。如果用户使用 UserNameCertificate 凭据进行身份验证,并且存在安全消息传输的 HTTPS 部署,则适用此模式。

Security in this context means message protection (integrity and confidentiality) as well as client and service authentication.

Actual protection requirements (the specific parts of SOAP messages that must be signed or signed and encrypted) are controlled through attributes on the service contract or through properties in the contract description. Properties on the binding do not control what is being signed or encrypted: a binding only delivers the general capability of signing and encrypting.

The default behavior for the BasicHttpRelayBinding is Transport.

Windows Azure Service Bus supports only Full Trust code access security.

EndToEndBasicHttpSecurityMode is the enumeration used to set the Security on a BasicHttpRelayBinding. As such, this enumeration is often used in the creation and initialization of the BasicHttpRelayBinding, before the binding is used to connect to the Windows Azure Service Bus for both client and service applications. For more information, see Building an azure2 Service Bus Client Application and Building a Service for the azure2 Service Bus.

社区附加资源

添加
显示:
© 2014 Microsoft