导出 (0) 打印
全部展开

RelayEventSubscriberAuthenticationType 枚举

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

描述是否要求 NetEventRelayBinding 的订户在发送消息时向 Windows Azure Service Bus 服务提供由 Windows Azure 访问控制服务颁发的安全令牌。

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

public enum RelayEventSubscriberAuthenticationType

成员名称说明
None如果已由 NetEventRelay 订户指定,将不要求客户端提供中继访问令牌。这代表一个选择退出机制,侦听器可以通过此机制放弃终结点上的 Windows Azure 访问控制保护并执行自己的访问控制。
RelayAccessToken如果已由 NetEventRelay 侦听器指定,将要求客户端提供中继访问令牌。

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

The Windows Azure Service Bus bindings use a federated security token authorization scheme to guard access to the Windows Azure Service Bus Relay and to the services listening through it.

This value controls whether clients of a NetEventRelay service are required to present a security token issued by the Windows Azure Access Control service to the Windows Azure Service Bus service when sending messages. Services (listeners) are always required to authenticate with the Windows Azure Access Control service and present an authorization token to the Windows Azure Service Bus. If the service (listener) wants to take over the responsibility of authenticating/authorizing clients, it can opt out of the integration between Windows Azure Access Control and Windows Azure Service Bus by setting this property to RelayEventSubscriberAuthenticationType.None. The default value is RelayEventSubscriberAuthenticationType.RelayAccessToken

RelayEventSubscriberAuthenticationType is functionally almost identical to RelayClientAuthenticationType. The main difference is that RelayEventSubscriberAuthenticationType is used with the NetEventRelayBinding. NetEventRelayBinding is used for multicast, and therefore has a slightly different naming terminology. As such, this enumeration is used most often in setting up a NetEventRelayBinding for either a client or host, before creating the connection to the Windows Azure Service Bus. For more information on initializing a relay binding, see Configuring an AppFabric Service Bus Application and Securing and Authenticating an AppFabric Service Bus Connection.

社区附加资源

显示:
© 2015 Microsoft