SecurityBindingElement.CreateKerberosOverTransportBindingElement Método

Definição

Cria um elemento de associação de segurança configurado para exigir autenticação do cliente com base em segurança SOAP usando o token Kerberos do cliente.Creates a security binding element that is configured to require SOAP-security based client authentication using the client's Kerberos token. O elemento de associação requer que o transporte forneça autenticação do servidor e proteção da mensagem (por exemplo, HTTPS).This binding element requires the transport to provide server authentication and message protection (for example, HTTPS).

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

Retornos

TransportSecurityBindingElement

Um objeto TransportSecurityBindingElement.A TransportSecurityBindingElement object.

Comentários

Para fazer a autenticação Kerberos, o servidor deve ser executado em uma conta que tenha um nome de entidade de serviço registrado com Active Directory.To do Kerberos authentication, the server must run in an account that has a service principal name registered with Active Directory. O NetworkService é uma conta desse tipo.NetworkService is such an account.

A associação criada foi IncludeTimestamp definida como true .The created binding has IncludeTimestamp set to true. O LocalClientSecuritySettings objeto retornado de LocalClientSettings tem sua DetectReplays propriedade definida como false .The LocalClientSecuritySettings object returned from LocalClientSettings has its DetectReplays property set to false.

O LocalServiceSecuritySettings objeto retornado de LocalServiceSettings tem sua DetectReplays propriedade definida como false .The LocalServiceSecuritySettings object returned from LocalServiceSettings has its DetectReplays property set to false.

Aplica-se a