Επεξεργασία

Κοινή χρήση μέσω


SecurityBindingElement.CreateKerberosBindingElement Method

Definition

Creates a symmetric security binding element that is configured to require client authentication based on the client's Kerberos token.

public:
 static System::ServiceModel::Channels::SymmetricSecurityBindingElement ^ CreateKerberosBindingElement();
public static System.ServiceModel.Channels.SymmetricSecurityBindingElement CreateKerberosBindingElement ();
static member CreateKerberosBindingElement : unit -> System.ServiceModel.Channels.SymmetricSecurityBindingElement
Public Shared Function CreateKerberosBindingElement () As SymmetricSecurityBindingElement

Returns

A SymmetricSecurityBindingElement object.

Remarks

To do Kerberos authentication, the server must run in an account that has a service principal name registered with Active Directory. NetworkService is such an account.

Applies to