ISecurityTokenManager Interface

Represents the interface all security token manager implement.

Namespace: Microsoft.Web.Services2.Security.Tokens
Assembly: Microsoft.Web.Services2 (in microsoft.web.services2.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.

PermitsPolicyEnforcementTokenCaching

Security token is used with policy.

LoadSecurityTokenAssertion

Security token is used with policy.

LoadTokenFromSecurityTokenAssertion

Security token is used with policy.

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 Longhorn, and Windows 2000

Target Platforms

Windows 2000, Windows 2000 Server, Windows 2000 Advanced Server, Windows XP Home Edition, Windows XP Professional, Windows Server 2003, Windows Longhorn, Pocket PC, Windows CE, Smart Phone

See Also

Reference

Microsoft.Web.Services2.Security.Tokens Namespace

Other Resources

ISecurityTokenManager Members