public class

ReplayCache

extends LinkedList<E>
java.lang.Object
   ↳ java.util.AbstractCollection<E>
     ↳ java.util.AbstractList<E>
       ↳ java.util.AbstractSequentialList<E>
         ↳ java.util.LinkedList<E>
           ↳ sun.security.mule.krb5.internal.rcache.ReplayCache

Class Overview

This class provides an efficient caching mechanism to store the timestamp of client authenticators. The cache minimizes the memory usage by doing self-cleanup of expired items in the cache.

Summary

Constants
long serialVersionUID
[Expand]
Inherited Constants
From class java.util.LinkedList
Fields
private boolean DEBUG
private Config kerberosConfig
private int nap
private String principal
private CacheTable table
[Expand]
Inherited Fields
From class java.util.LinkedList
From class java.util.AbstractList
Public Constructors
ReplayCache(String p, CacheTable ct, Config kerberosConfigs)
Constructs a ReplayCache for a client principal in specified CacheTable.
Public Methods
synchronized void put(AuthTime t, long currentTime)
Puts the authenticator timestamp into the cache in descending order.
[Expand]
Inherited Methods
From class java.util.LinkedList
From class java.util.AbstractSequentialList
From class java.util.AbstractList
From class java.util.AbstractCollection
From class java.lang.Object
From interface java.lang.Iterable
From interface java.util.Collection
From interface java.util.Deque
From interface java.util.List
From interface java.util.Queue

Constants

private static final long serialVersionUID

Constant Value: 2997933194993803994 (0x299acc5b6bf522da)

Fields

private boolean DEBUG

private Config kerberosConfig

private int nap

private String principal

private CacheTable table

Public Constructors

public ReplayCache (String p, CacheTable ct, Config kerberosConfigs)

Constructs a ReplayCache for a client principal in specified CacheTable.

Parameters
p Client principal name.
ct CacheTable.
kerberosConfigs

Public Methods

public synchronized void put (AuthTime t, long currentTime)

Puts the authenticator timestamp into the cache in descending order.

Parameters
t AuthTime
currentTime