ServiceAuthorizationBehavior ServiceAuthorizationBehavior ServiceAuthorizationBehavior ServiceAuthorizationBehavior Class

Definición

Proporciona las propiedades relacionadas para reparar el comportamiento de la autorización.Provides properties related to service authorization behavior.

public ref class ServiceAuthorizationBehavior sealed : System::ServiceModel::Description::IServiceBehavior
public sealed class ServiceAuthorizationBehavior : System.ServiceModel.Description.IServiceBehavior
type ServiceAuthorizationBehavior = class
    interface IServiceBehavior
Public NotInheritable Class ServiceAuthorizationBehavior
Implements IServiceBehavior
Herencia
ServiceAuthorizationBehaviorServiceAuthorizationBehaviorServiceAuthorizationBehaviorServiceAuthorizationBehavior
Implementaciones

Comentarios

La autorización se produce en el nivel del servicio y en el nivel de la operación.Authorization occurs at the service level and at the operation level. Esta clase contiene propiedades relacionadas con la autorización en el nivel del servicio.This class contains properties related to authorization at the service level.

Constructores

ServiceAuthorizationBehavior() ServiceAuthorizationBehavior() ServiceAuthorizationBehavior() ServiceAuthorizationBehavior()

Inicializa una nueva instancia de la clase ServiceAuthorizationBehavior.Initializes a new instance of the ServiceAuthorizationBehavior class.

Propiedades

ExternalAuthorizationPolicies ExternalAuthorizationPolicies ExternalAuthorizationPolicies ExternalAuthorizationPolicies

Obtiene o establece una colección de directivas de autorización externas.Gets or sets a collection of external authorization policies.

ImpersonateCallerForAllOperations ImpersonateCallerForAllOperations ImpersonateCallerForAllOperations ImpersonateCallerForAllOperations

Obtiene o establece un valor que indica si el servicio realiza suplantaciones para todas las operaciones que admite.Gets or sets a value that indicates whether the service performs impersonation for all the operations that it supports.

ImpersonateOnSerializingReply ImpersonateOnSerializingReply ImpersonateOnSerializingReply ImpersonateOnSerializingReply

Obtiene o establece un valor que indica si el servicio realiza la suplantación en la respuesta de serialización.Gets or sets a value that indicates whether the service performs impersonation on serializing reply.

PrincipalPermissionMode PrincipalPermissionMode PrincipalPermissionMode PrincipalPermissionMode

Obtiene o establece el modo de permiso de la entidad de seguridad.Gets or sets the principal permission mode.

RoleProvider RoleProvider RoleProvider RoleProvider

Obtiene o establece un proveedor de funciones personalizado.Gets or sets a custom role provider.

ServiceAuthorizationManager ServiceAuthorizationManager ServiceAuthorizationManager ServiceAuthorizationManager

Obtiene o establece el administrador de autorización de servicio.Gets or sets the service authorization manager.

Métodos

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

Determina si el objeto especificado es igual al objeto actual.Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Sirve como la función hash predeterminada.Serves as the default hash function.

(Inherited from Object)
GetType() GetType() GetType() GetType()

Obtiene el Type de la instancia actual.Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

Crea una copia superficial del objeto Object actual.Creates a shallow copy of the current Object.

(Inherited from Object)
ShouldSerializeExternalAuthorizationPolicies() ShouldSerializeExternalAuthorizationPolicies() ShouldSerializeExternalAuthorizationPolicies() ShouldSerializeExternalAuthorizationPolicies()

Devuelve un valor que indica si la propiedad ExternalAuthorizationPolicies ha cambiado respecto de su valor predeterminado y se debe serializar.Returns a value that indicates whether the ExternalAuthorizationPolicies property has changed from its default value and should be serialized.

ShouldSerializeServiceAuthorizationManager() ShouldSerializeServiceAuthorizationManager() ShouldSerializeServiceAuthorizationManager() ShouldSerializeServiceAuthorizationManager()

Devuelve un valor que indica si la propiedad ServiceAuthorizationManager ha cambiado respecto de su valor predeterminado y se debe serializar.Returns a value that indicates whether the ServiceAuthorizationManager property has changed from its default value and should be serialized.

ToString() ToString() ToString() ToString()

Devuelve una cadena que representa el objeto actual.Returns a string that represents the current object.

(Inherited from Object)

Implementaciones de interfaz explícitas

IServiceBehavior.AddBindingParameters(ServiceDescription, ServiceHostBase, Collection<ServiceEndpoint>, BindingParameterCollection) IServiceBehavior.AddBindingParameters(ServiceDescription, ServiceHostBase, Collection<ServiceEndpoint>, BindingParameterCollection) IServiceBehavior.AddBindingParameters(ServiceDescription, ServiceHostBase, Collection<ServiceEndpoint>, BindingParameterCollection) IServiceBehavior.AddBindingParameters(ServiceDescription, ServiceHostBase, Collection<ServiceEndpoint>, BindingParameterCollection)

Proporciona la capacidad de pasar los datos personalizados a los elementos de enlace para admitir la implementación del contrato.Provides the ability to pass custom data to binding elements to support the contract implementation.

IServiceBehavior.ApplyDispatchBehavior(ServiceDescription, ServiceHostBase) IServiceBehavior.ApplyDispatchBehavior(ServiceDescription, ServiceHostBase) IServiceBehavior.ApplyDispatchBehavior(ServiceDescription, ServiceHostBase) IServiceBehavior.ApplyDispatchBehavior(ServiceDescription, ServiceHostBase)

Define una implementación de interfaz explícita que agrega comportamientos de distribución para configurar el enlace.Defines an explicit interface implementation that adds dispatch behaviors to configure the binding.

IServiceBehavior.Validate(ServiceDescription, ServiceHostBase) IServiceBehavior.Validate(ServiceDescription, ServiceHostBase) IServiceBehavior.Validate(ServiceDescription, ServiceHostBase) IServiceBehavior.Validate(ServiceDescription, ServiceHostBase)

Proporciona la capacidad de inspeccionar el host y la descripción del servicio para confirmar que este puede ejecutarse correctamente.Provides the ability to inspect the service host and the service description to confirm that the service can run successfully.

Se aplica a