System.Runtime.Remoting.Channels.IAuthorizeRemotingConnection.IsConnectingIdentityAuthorized Method

Gets a Boolean value that indicates whether the user identity of the client is authorized to connect on the current channel.

Syntax

public bool IsConnectingIdentityAuthorized (System.Security.Principal.IIdentity identity)

Parameters

identity
The System.Security.Principal.IIdentity that represents the user identity of the client.

Returns

true if the user identity of the client is authorized; otherwise, false.

Remarks

An instance of the System.Runtime.Remoting.Channels.IAuthorizeRemotingConnection interface is passed to System.Runtime.Remoting.Channels.Tcp.TcpServerChannel.#ctor(IDictionary, IServerChannelSinkProvider, IAuthorizeRemotingConnection). It provides a single point of authorization for all incoming connections on a System.Runtime.Remoting.Channels.Tcp.TcpServerChannel. It allows for the authorization of the caller before any incoming messages are deserialized to minimize the security threat from untrusted sources.

Requirements

Namespace: System.Runtime.Remoting.Channels
Assembly: System.Runtime.Remoting (in System.Runtime.Remoting.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0