Język

SspiSecurityTokenProvider Konstruktory

Definicja

Inicjuje nowe wystąpienie klasy SspiSecurityTokenProvider.

Przeciążenia

SspiSecurityTokenProvider(NetworkCredential, Boolean, Boolean)

Źródło:
SspiSecurityTokenProvider.cs
Źródło:
SspiSecurityTokenProvider.cs
Źródło:
SspiSecurityTokenProvider.cs

Inicjuje nowe wystąpienie klasy SspiSecurityTokenProvider.

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)

Parametry

credential
NetworkCredential

Element NetworkCredential reprezentujący tożsamość serwera.

extractGroupsForWindowsAccounts
Boolean

true, aby rozszerzyć użytkowników, aby uwzględnić grupy Windows; w przeciwnym razie false.

allowUnauthenticatedCallers
Boolean

true umożliwianie nieuwierzytelnionym obiektom wywołującym; w przeciwnym razie, false.

Uwagi

Wystąpienie tej klasy jest używane dla tokenów SSPI w usłudze.

Dotyczy

SspiSecurityTokenProvider(NetworkCredential, Boolean, TokenImpersonationLevel)

Źródło:
SspiSecurityTokenProvider.cs
Źródło:
SspiSecurityTokenProvider.cs
Źródło:
SspiSecurityTokenProvider.cs

Inicjuje nowe wystąpienie klasy SspiSecurityTokenProvider.

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)

Parametry

credential
NetworkCredential

Element NetworkCredential reprezentujący tożsamość klienta.

allowNtlm
Boolean

true aby zezwolić na uwierzytelnianie NTLM; w przeciwnym razie, false.

impersonationLevel
TokenImpersonationLevel

Przyznane TokenImpersonationLevel serwerowi.

Uwagi

Nowe wystąpienie tej klasy jest używane dla tokenów SSPI na kliencie.

Dotyczy