Sprache

SspiSecurityTokenProvider Konstruktoren

Definition

Initialisiert eine neue Instanz der SspiSecurityTokenProvider-Klasse.

Überlädt

SspiSecurityTokenProvider(NetworkCredential, Boolean, Boolean)

Quelle:
SspiSecurityTokenProvider.cs
Quelle:
SspiSecurityTokenProvider.cs
Quelle:
SspiSecurityTokenProvider.cs

Initialisiert eine neue Instanz der SspiSecurityTokenProvider-Klasse.

public:
 SspiSecurityTokenProvider(System::Net::NetworkCredential ^ credential, bool extractGroupsForWindowsAccounts, bool allowUnauthenticatedCallers);
public SspiSecurityTokenProvider(System.Net.NetworkCredential credential, bool extractGroupsForWindowsAccounts, bool allowUnauthenticatedCallers);
new System.ServiceModel.Security.SspiSecurityTokenProvider : System.Net.NetworkCredential * bool * bool -> System.ServiceModel.Security.SspiSecurityTokenProvider
Public Sub New (credential As NetworkCredential, extractGroupsForWindowsAccounts As Boolean, allowUnauthenticatedCallers As Boolean)

Parameter

credential
NetworkCredential

Dies NetworkCredential stellt die Serveridentität dar.

extractGroupsForWindowsAccounts
Boolean

true, um Benutzer so zu erweitern, dass sie Windows Gruppen enthalten; andernfalls false.

allowUnauthenticatedCallers
Boolean

truezulassen, dass nicht authentifizierte Aufrufer zugelassen werden; andernfalls . false

Hinweise

Die Instanz dieser Klasse wird für SSPI-Token für den Dienst verwendet.

Gilt für:

SspiSecurityTokenProvider(NetworkCredential, Boolean, TokenImpersonationLevel)

Quelle:
SspiSecurityTokenProvider.cs
Quelle:
SspiSecurityTokenProvider.cs
Quelle:
SspiSecurityTokenProvider.cs

Initialisiert eine neue Instanz der SspiSecurityTokenProvider-Klasse.

public:
 SspiSecurityTokenProvider(System::Net::NetworkCredential ^ credential, bool allowNtlm, System::Security::Principal::TokenImpersonationLevel impersonationLevel);
public SspiSecurityTokenProvider(System.Net.NetworkCredential credential, bool allowNtlm, System.Security.Principal.TokenImpersonationLevel impersonationLevel);
new System.ServiceModel.Security.SspiSecurityTokenProvider : System.Net.NetworkCredential * bool * System.Security.Principal.TokenImpersonationLevel -> System.ServiceModel.Security.SspiSecurityTokenProvider
Public Sub New (credential As NetworkCredential, allowNtlm As Boolean, impersonationLevel As TokenImpersonationLevel)

Parameter

credential
NetworkCredential

Dies NetworkCredential stellt die Clientidentität dar.

allowNtlm
Boolean

truedie NTLM-Authentifizierung zuzulassen; andernfalls . false

impersonationLevel
TokenImpersonationLevel

Der TokenImpersonationLevel dem Server gewährte.

Hinweise

Die neue Instanz dieser Klasse wird für SSPI-Token auf dem Client verwendet.

Gilt für: