GrapeCity Secure Mail for .NET 4.0J
ServicePrincipleName プロパティ

GSSAPIおよびNTLM認証に使用されるサービスプリンシパル名(SPN)を取得または設定します。
シンタックス
<DescriptionAttribute("Service Principle Name (SPN) (used for GSSAPI and NTLM authentication only).")>
<CategoryAttribute("Authentication")>
<DefaultValueAttribute()>
Public Property ServicePrincipleName As String
[Description("Service Principle Name (SPN) (used for GSSAPI and NTLM authentication only).")]
[Category("Authentication")]
[DefaultValue()]
public string ServicePrincipleName {get; set;}
解説

このプロパティは、GSSAPIまたはNTLM認証を使用するときに設定する必要があります。これはサービスと(サービスが提供されている)ホスト名を指定します。指定したホスト名で使用可能なSPNを調べるには、コマンドプロンプトで"setspn -L hostname"を使用します。

現在のユーザーがドメインの一部としてログオンしていて、Usernameがnullまたは空の場合、Microsoftのシングルサインオン機能を使用するにはServicePrincipleNameを設定するだけで十分です(クライアントが現在認証されているユーザーとして認証されます)。

Usernameがnullまたは空でない場合は、サーバーへの認証にUsernamePassword、およびDomainが使用されます。別のユーザーのアカウントにアクセスする場合は、この方法を使用します。

参照

参照

AuthenticatedSession クラス
AuthenticatedSession メンバ

 

 


© 2003, GrapeCity inc. All rights reserved.