HttpTransportBindingElement::Realm Property

 

Gets or sets the authentication realm.

Namespace:   System.ServiceModel.Channels
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

public:
property String^ Realm {
	String^ get();
	void set(String^ value);
}

Property Value

Type: System::String^

The authentication realm. The default value is "".

Servers use realms to partition protected resources; each partition can have its own authentication scheme or authorization database. Realms are used only for basic and digest authentication. After a client successfully authenticates, the authentication is valid for all resources in a given realm. For a detailed description of realms, see RFC 2617.

.NET Framework
Available since 3.0
Return to top
Show: