IAuthorizeRemotingConnection.IsConnectingIdentityAuthorized(IIdentity) メソッド

定義

クライアントのユーザー ID が現在のチャネルでの接続を許可されているかどうかを示すブール値を取得します。

public:
 bool IsConnectingIdentityAuthorized(System::Security::Principal::IIdentity ^ identity);
public bool IsConnectingIdentityAuthorized(System.Security.Principal.IIdentity identity);
abstract member IsConnectingIdentityAuthorized : System.Security.Principal.IIdentity -> bool
Public Function IsConnectingIdentityAuthorized (identity As IIdentity) As Boolean

パラメーター

identity
IIdentity

クライアントのユーザー ID を表す IIdentity

返品

true クライアントのユーザー ID が承認されている場合。それ以外の場合は false

注釈

IAuthorizeRemotingConnection インターフェイスのインスタンスがTcpServerChannel(IDictionary, IServerChannelSinkProvider, IAuthorizeRemotingConnection)に渡されます。 TcpServerChannel上のすべての着信接続に対して単一の承認ポイントを提供します。 これにより、受信メッセージを逆シリアル化する前に呼び出し元の承認を行って、信頼されていないソースからのセキュリティ上の脅威を最小限に抑えることができます。

適用対象