Partager via


ISecurityTokenManager Interface

Represents the interface all security token manager implement.

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

Usage

'Usage
Public Class securityTokenManagerImplementation
    Implements ISecurityTokenManager
End Class
Dim securityTokenManagerImplementation1 As New securityTokenManagerImplementation()

Syntax

'Declaration
Public Interface ISecurityTokenManager
public interface ISecurityTokenManager
public interface class ISecurityTokenManager
public interface ISecurityTokenManager
public interface ISecurityTokenManager

Remarks

WSE uses security token managers to interact with security tokens. Security token managers typically derive from the SecurityTokenManager class, however it is possible to implement the ISecurityTokenManager interface directly.

To build a custom security token manager, either derive a class from SecurityTokenManager or create a class that implements the ISecurityTokenManager interface and register the class in the SOAP message receiver's configuration file using the <securityTokenManager> element. For more details about creating a custom security token manager, see How to: Create a Security Token Manager for a Custom Security Token. For more details about configuring a security token manager, see How to: Configure the Security Token Manager for a Custom Security Token.

Notes to Implementers: The following table provides guidance on when you typically implement a member.

Member

When you typically implement

TokenType

Always.

LoadTokenFromXml

Always.

VerifyToken

Always.

LoadTokenFromKeyInfo

Security token supports encryption. Used during decryption of the security token.

The following table lists the natively supported security tokens and their respective security token managers.

Security token

Security token manager

X509SecurityToken

X509SecurityTokenManager

UsernameToken

UsernameTokenManager

KerberosToken

KerberosTokenManager

DerivedKeyToken

DerivedKeyTokenManager

SecurityContextToken

SecurityContextTokenManager

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

ISecurityTokenManager Members
Microsoft.Web.Services3.Security.Tokens Namespace