CreateKerberosOverTransportBindingElement Method

SecurityBindingElement.CreateKerberosOverTransportBindingElement Method ()

 

Creates a security binding element that is configured to require SOAP-security based client authentication using the client's Kerberos token. This binding element requires the transport to provide server authentication and message protection (for example, HTTPS).

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

public static TransportSecurityBindingElement CreateKerberosOverTransportBindingElement()

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.

The created binding has IncludeTimestamp set to true. The LocalClientSecuritySettings object returned from LocalClientSettings has its DetectReplays property set to false.

The LocalServiceSecuritySettings object returned from LocalServiceSettings has its DetectReplays property set to false.

.NET Framework
Available since 3.0
Return to top
Show:
© 2016 Microsoft