Redigera

Dela via


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
ServiceAuthorizationBehavior
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()

Initializes a new instance of the ServiceAuthorizationBehavior class.

Properties

ExternalAuthorizationPolicies

Gets or sets a collection of external authorization policies.

ImpersonateCallerForAllOperations

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

ImpersonateOnSerializingReply

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

PrincipalPermissionMode

Gets or sets the principal permission mode.

RoleProvider

Gets or sets a custom role provider.

ServiceAuthorizationManager

Gets or sets the service authorization manager.

Methods

Equals(Object)

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

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ShouldSerializeExternalAuthorizationPolicies()

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

ShouldSerializeServiceAuthorizationManager()

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

ToString()

Returns a string that represents the current object.

(Inherited from Object)

Explicit Interface Implementations

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)

Defines an explicit interface implementation that adds dispatch behaviors to configure the binding.

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