Partager via


KerberosServerContext.AcceptContext Method

Establishes a security context between a client and a Web service.

Namespace: Microsoft.Web.Services3.Security.Tokens.Kerberos
Assembly: Microsoft.Web.Services3 (in microsoft.web.services3.dll)

Usage

'Usage
Dim inToken() As Byte
Dim returnValue() As Byte
Dim kerberosServerContext1 As KerberosServerContext
returnValue = kerberosServerContext1.AcceptContext(inToken)

Syntax

'Declaration
Public Function AcceptContext( _
    ByVal inToken() As Byte _
) As Byte()
public byte[] AcceptContext(
    byte[] inToken
);
public:
array<unsigned char>^ AcceptContext(
    array<unsigned char>^ inToken
);
public ubyte[] AcceptContext(
    ubyte[] inToken
);
public function AcceptContext(
     inToken : Byte[]
) : Byte[];

Parameters

  • inToken
    An array of type System.Byte that contains the Kerberos ticket of the client.

Return Value

An array of type System.Byte that contains the Kerberos ticket.

Remarks

Use the AcceptContext method and the InitializeContext(Byte[]) to establish a security context.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

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