Describes whether subscribers to a NetEventRelayBinding 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.
Assembly: Microsoft.ServiceBus (in Microsoft.ServiceBus.dll)
|If specified by a NetEventRelay subscriber, the client will not be required to provide a relay access token. This represents an opt-out mechanism with which listeners can waive the Windows Azure Access Control protection on the endpoint and perform their own access control.|
|If specified by a NetEventRelay listener, the client is required to provide a relay access token.|
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
is functionally almost identical to RelayClientAuthenticationType. The main difference is that 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.