편집

다음을 통해 공유


SspiSecurityTokenProvider Constructors

Definition

Initializes a new instance of the SspiSecurityTokenProvider class.

Overloads

SspiSecurityTokenProvider(NetworkCredential, Boolean, Boolean)

Initializes a new instance of the SspiSecurityTokenProvider class.

SspiSecurityTokenProvider(NetworkCredential, Boolean, TokenImpersonationLevel)

Initializes a new instance of the SspiSecurityTokenProvider class.

SspiSecurityTokenProvider(NetworkCredential, Boolean, Boolean)

Source:
SspiSecurityTokenProvider.cs
Source:
SspiSecurityTokenProvider.cs

Initializes a new instance of the SspiSecurityTokenProvider class.

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)

Parameters

credential
NetworkCredential

The NetworkCredential that represents the server identity.

extractGroupsForWindowsAccounts
Boolean

true to expand users to include Windows Groups; otherwise, false.

allowUnauthenticatedCallers
Boolean

true to allow unauthenticated callers; otherwise, false.

Remarks

The instance of this class is used for SSPI tokens on the service.

Applies to

SspiSecurityTokenProvider(NetworkCredential, Boolean, TokenImpersonationLevel)

Source:
SspiSecurityTokenProvider.cs
Source:
SspiSecurityTokenProvider.cs

Initializes a new instance of the SspiSecurityTokenProvider class.

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)

Parameters

credential
NetworkCredential

The NetworkCredential that represents the client identity.

allowNtlm
Boolean

true to allow NTLM authentication; otherwise, false.

impersonationLevel
TokenImpersonationLevel

The TokenImpersonationLevel granted to the server.

Remarks

The new instance of this class is used for SSPI tokens on the client.

Applies to