0
WCFエンドポイントを作成するときにDnsEndpointIdentityを含める必要があるのはなぜですか?WCFエンドポイントの作成中にエラーが発生する
私はこのようなエンドポイントを作成するときに:
EndpointAddress endpoint = new EndpointAddress(uri);
私はSSPI認証失敗エラー
を取得しかし、私はこれを行うとき、それだけで正常に動作します:
DnsEndpointIdentity endpointIdentity = new DnsEndpointIdentity("sadmienjfkf");
EndpointAddress endPoint = new EndpointAddress(uri, endpointIdentity);
ていることに注意してください私はコンストラクタで特定の値を必要としないし、空白のままでもうまく動作します。
はまた、私のサービスエンドポイント定義では、私は、すなわちのservicePrincipalNameを指定していない私は、私はDnsEndpointIdentityについて読んでてきたとservicePrincipalNameのは、私は本当に理解していない入れ
<identity>
<servicePrincipalName value="" />
</identity>
含まれていないことに注意してください。
誰かが光を照らすことができますか?
セキュリティモード= "メッセージ"; clientCredentialType = "Windows"; NetTcpバインディング。別のサーバーのコンソールアプリケーションでホストする –
偽装で何かしていますか? –