Condividi tramite


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.Services3.Security.Tokens
Assembly: Microsoft.Web.Services3 (in microsoft.web.services3.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 : 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.Services3.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 2000, Windows 2000 Server, Windows 2000 Advanced Server

Target Platforms

See Also

Reference

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