Share via


X509SecurityTokenManager.AuthenticateToken Method

Authenticates an X509SecurityToken.

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

Usage

'Usage
Public Class x509SecurityTokenManagerImplementation
    Inherits X509SecurityTokenManager
        Protected Overrides Sub AuthenticateToken(token As X509SecurityToken)
            MyBase.AuthenticateToken(token)
        End Sub
End Class

Syntax

'Declaration
Protected Overridable Sub AuthenticateToken( _
    ByVal token As X509SecurityToken _
)
protected virtual void AuthenticateToken(
    X509SecurityToken token
);
protected:
virtual void AuthenticateToken(
    X509SecurityToken^ token
);
protected virtual void AuthenticateToken(
    X509SecurityToken token
);
protected function AuthenticateToken(
     token : X509SecurityToken
) : Void;

Parameters

Remarks

The default implementation does not authenticate the token parameter.

To authenticate X509SecurityToken security tokens, derive a class from X509SecurityTokenManager and override the AuthenticateToken method. The AuthenticateToken method is called by the VerifyToken method, which WSE calls for each X509SecurityToken in the deserialized message. In order for WSE to use a custom security token manager, the manager must be registered in the SOAP message recipient's configuration file using the Type attribute of the <binarySecurityTokenManager> element. For more information, see <binarySecurityTokenManager> Element.

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

X509SecurityTokenManager Class
X509SecurityTokenManager Members
Microsoft.Web.Services3.Security.Tokens Namespace
X509SecurityToken

Other Resources

<binarySecurityTokenManager> Element