ServiceAuthorizationBehavior ServiceAuthorizationBehavior ServiceAuthorizationBehavior ServiceAuthorizationBehavior Class

Definition

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
Inheritance
ServiceAuthorizationBehaviorServiceAuthorizationBehaviorServiceAuthorizationBehaviorServiceAuthorizationBehavior
Implements

Remarks

Authorization occurs at the service level and at the operation level. This class contains properties related to authorization at the service level.

Constructors

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

Initializes a new instance of the ServiceAuthorizationBehavior class.

Properties

ExternalAuthorizationPolicies ExternalAuthorizationPolicies ExternalAuthorizationPolicies ExternalAuthorizationPolicies

Gets or sets a collection of external authorization policies.

ImpersonateCallerForAllOperations ImpersonateCallerForAllOperations ImpersonateCallerForAllOperations ImpersonateCallerForAllOperations

Gets or sets a value that indicates whether the service performs impersonation for all the operations that it supports.

ImpersonateOnSerializingReply ImpersonateOnSerializingReply ImpersonateOnSerializingReply ImpersonateOnSerializingReply

Gets or sets a value that indicates whether the service performs impersonation on serializing reply.

PrincipalPermissionMode PrincipalPermissionMode PrincipalPermissionMode PrincipalPermissionMode

Gets or sets the principal permission mode.

RoleProvider RoleProvider RoleProvider RoleProvider

Gets or sets a custom role provider.

ServiceAuthorizationManager ServiceAuthorizationManager ServiceAuthorizationManager ServiceAuthorizationManager

Gets or sets the service authorization manager.

Methods

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

Determines whether the specified object is equal to the current object.

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

Serves as the default hash function.

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

Gets the Type of the current instance.

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

Creates a shallow copy of the current Object.

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

Returns a value that indicates whether the ExternalAuthorizationPolicies property has changed from its default value and should be serialized.

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

Returns a value that indicates whether the ServiceAuthorizationManager property has changed from its default value and should be serialized.

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

Returns a string that represents the current object.

(Inherited from Object)

Explicit Interface Implementations

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)

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)

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)

Provides the ability to inspect the service host and the service description to confirm that the service can run successfully.

Applies to