OnewayRelayTransportElement.RelayClientAuthenticationType Property
[This is prerelease documentation and is subject to change in future releases. Blank topics are included as placeholders.]
Gets or sets the authentication type specified in this configuration element.
Namespace: Microsoft.ServiceBus.Configuration
Assembly: Microsoft.ServiceBus (in microsoft.servicebus.dll)
Usage
Dim instance As OnewayRelayTransportElement
Dim value As RelayClientAuthenticationType
value = instance.RelayClientAuthenticationType
instance.RelayClientAuthenticationType = value
Syntax
'Declaration
<ConfigurationPropertyAttribute("relayClientAuthenticationType", DefaultValue:=RelayClientAuthenticationType.RelayAccessToken)> _
Public Property RelayClientAuthenticationType As RelayClientAuthenticationType
[ConfigurationPropertyAttribute("relayClientAuthenticationType", DefaultValue=RelayClientAuthenticationType.RelayAccessToken)]
public RelayClientAuthenticationType RelayClientAuthenticationType { get; set; }
[ConfigurationPropertyAttribute(L"relayClientAuthenticationType", DefaultValue=RelayClientAuthenticationType::RelayAccessToken)]
public:
property RelayClientAuthenticationType RelayClientAuthenticationType {
RelayClientAuthenticationType get ();
void set (RelayClientAuthenticationType value);
}
/** @property */
public RelayClientAuthenticationType get_RelayClientAuthenticationType ()
/** @property */
public void set_RelayClientAuthenticationType (RelayClientAuthenticationType value)
public function get RelayClientAuthenticationType () : RelayClientAuthenticationType
public function set RelayClientAuthenticationType (value : RelayClientAuthenticationType)
Property Value
Returns a RelayClientAuthenticationType that contains the type of authentication to be used by binding elements the current instance is applied to.
Remarks
RelayClientAuthenticationType controls whether clients of a service are required to present a security token issued by the Access Control service to the Service Bus service when sending messages. Services (listeners) are always required to authenticate with the Access Control service and present an authorization token to the Service Bus. If the service (listener) wants to take over the responsibility of authenticating/authorizing clients, the service can opt out of the integration between Access Control and Service Bus by setting RelayClientAuthenticationType to None.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
Development Platforms
Windows XP Home Edition, Windows XP Professional, Windows Server 2003 , Windows Server 2008, and Windows 2000
Target Platforms
See Also
Reference
OnewayRelayTransportElement Class
OnewayRelayTransportElement Members
Microsoft.ServiceBus.Configuration Namespace