WSFederationHttpSecurityMode WSFederationHttpSecurityMode WSFederationHttpSecurityMode WSFederationHttpSecurityMode Enum

Definición

Especifica los distintos modos de seguridad para WSFederationHttpBinding.Specifies the different security modes for WSFederationHttpBinding.

public enum class WSFederationHttpSecurityMode
public enum WSFederationHttpSecurityMode
type WSFederationHttpSecurityMode = 
Public Enum WSFederationHttpSecurityMode
Herencia
WSFederationHttpSecurityModeWSFederationHttpSecurityModeWSFederationHttpSecurityModeWSFederationHttpSecurityMode

Campos

Message Message Message Message 1

La integridad, confidencialidad, autenticación de servidor y autenticación del cliente se proporciona mediante la seguridad del mensaje SOAP.Integrity, confidentiality, server authentication and client authentication are provided using SOAP message security. De forma predeterminada, el cuerpo se cifra y firma.By default, the body is encrypted and signed. El servicio se debe configurar con un certificado.The service must be configured with a certificate. La autenticación del cliente está basada en el token emitido al cliente por un servicio del token de seguridad.Client authentication is based on the token issued to the client by a security token service.

None None None None 0

El mensaje SOAP no es seguro durante la transferencia.The SOAP message is not secure during transfer. No se contacta con ningún servicio de token de seguridad.No Security Token Service is contacted. Este modo es equivalente a utilizar el enlace wsHttpBinding con SecurityMode.None.This mode is equivalent to using the wsHttpBinding binding with SecurityMode.None.

TransportWithMessageCredential TransportWithMessageCredential TransportWithMessageCredential TransportWithMessageCredential 2

HTTPS proporciona integridad, confidencialidad y autenticación del servidor.Integrity, confidentiality and server authentication are provided by HTTPS. El servicio se debe configurar con un certificado.The service must be configured with a certificate. La autenticación del cliente se proporciona por medio de la seguridad del mensaje SOAP y está basada en el token emitido al cliente por un servicio de token de seguridad.Client authentication is provided by means of SOAP message security and is based on the token issued to the client by a security token service.

Ejemplos

El código siguiente muestra cómo establecer Mode en un miembro de esta enumeración.The following code shows how to set Mode to a member of this enumeration.

// This method creates a WSFederationHttpBinding.
public static WSFederationHttpBinding 
       CreateWSFederationHttpBinding(bool isClient)
{
  // Create an instance of the WSFederationHttpBinding.
  WSFederationHttpBinding b = new WSFederationHttpBinding();

  // Set the security mode to Message.
  b.Security.Mode = WSFederationHttpSecurityMode.Message;
' This method creates a WSFederationHttpBinding.
Public Shared Function CreateWSFederationHttpBinding(ByVal isClient As Boolean) As WSFederationHttpBinding
  ' Create an instance of the WSFederationHttpBinding.
  Dim b As New WSFederationHttpBinding()

  ' Set the security mode to Message.
  b.Security.Mode = WSFederationHttpSecurityMode.Message

Comentarios

Esta enumeración define los modos de seguridad que WSFederationHttpBinding admite.This enumeration defines the security modes that the WSFederationHttpBinding supports.

Se aplica a