KerberosServerContext Constructor (Boolean, ImpersonationLevel)
Initializes a new instance of the KerberosServerContext class with a value indicating whether this KerberosServerContext requires mutual authentication and how a recipient of the KerberosToken security token that is associated with this KerberosContext can use the identity that is associated with the security token.
Namespace: Microsoft.Web.Services3.Security.Tokens.Kerberos
Assembly: Microsoft.Web.Services3 (in microsoft.web.services3.dll)
Usage
'Usage
Dim requireMutualAuthentication As Boolean
Dim level As ImpersonationLevel
Dim kerberosServerContext1 As New KerberosServerContext(requireMutualAuthentication, level)
Syntax
'Declaration
Public Sub New( _
ByVal requireMutualAuthentication As Boolean, _
ByVal level As ImpersonationLevel _
)
public KerberosServerContext(
bool requireMutualAuthentication,
ImpersonationLevel level
);
public:
KerberosServerContext(
bool requireMutualAuthentication,
ImpersonationLevel level
);
public KerberosServerContext(
boolean requireMutualAuthentication,
ImpersonationLevel level
);
public function KerberosServerContext(
requireMutualAuthentication : Boolean,
level : ImpersonationLevel
);
Parameters
- requireMutualAuthentication
true to require mutual authentication; otherwise, false. The default is false.
- level
An ImpersonationLevel that specifies how a recipient of the KerberosToken security token that is associated with this KerberosServerContext class can use the identity that is associated with the WindowsPrincipal property.
Platforms
Development Platforms
Windows XP Home Edition, Windows XP Professional, Windows Server 2003, Windows 2000, Windows 2000 Server, Windows 2000 Advanced Server
Target Platforms
See Also
Reference
KerberosServerContext Class
KerberosServerContext Members
Microsoft.Web.Services3.Security.Tokens.Kerberos Namespace