MRUSecurityTokenCache Class

Provides the base implementation for a security token cache that makes room for a new token by removing the least recently accessed item.

Namespace: Microsoft.Web.Services2.Security.Tokens
Assembly: Microsoft.Web.Services2 (in microsoft.web.services2.dll)

Usage

'Usage
Dim capacity As Integer
Dim mRUSecurityTokenCache1 As New MRUSecurityTokenCache(capacity)

Syntax

'Declaration
Public Class MRUSecurityTokenCache
    Implements ISecurityTokenCache, IEnumerable
public class MRUSecurityTokenCache : ISecurityTokenCache, IEnumerable
public ref class MRUSecurityTokenCache : public ISecurityTokenCache, IEnumerable
public class MRUSecurityTokenCache implements ISecurityTokenCache, IEnumerable
public class MRUSecurityTokenCache implements ISecurityTokenCache, , IEnumerable

Remarks

When a new item is added to a cache that has reached capacity, room is made for the new item as follows. First, any items that have expired are removed. If the cache is still at capacity, the least recently used item is removed to make room for the new item.

Inheritance Hierarchy

System.Object
  Microsoft.Web.Services2.Security.Tokens.MRUSecurityTokenCache

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 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

MRUSecurityTokenCache Members