public class

CacheTable

extends Hashtable<K, V>
java.lang.Object
   ↳ java.util.Dictionary<K, V>
     ↳ java.util.Hashtable<K, V>
       ↳ sun.security.mule.krb5.internal.rcache.CacheTable

Class Overview

This class implements Hashtable to store the replay caches.

Summary

Constants
long serialVersionUID
[Expand]
Inherited Constants
From class java.util.Hashtable
Fields
private boolean DEBUG
private Config kerberosConfig
[Expand]
Inherited Fields
From class java.util.Hashtable
Public Constructors
CacheTable()
Public Methods
Object get(AuthTime time, String principal)
This method tests if replay cache keeps a record of the authenticator's time stamp.
synchronized void put(String principal, AuthTime time, long currTime)
Puts the client timestamp in replay cache.
[Expand]
Inherited Methods
From class java.util.Hashtable
From class java.util.Dictionary
From class java.lang.Object
From interface java.util.Map

Constants

private static final long serialVersionUID

Constant Value: -4695501354546664910 (0xbed63a6557e16a32)

Fields

private boolean DEBUG

private Config kerberosConfig

Public Constructors

public CacheTable ()

Public Methods

public Object get (AuthTime time, String principal)

This method tests if replay cache keeps a record of the authenticator's time stamp. If there is a record (replay attack detected), the server should reject the client request.

Parameters
time
principal
Returns
  • null if no record found, else return an AuthTime object.

public synchronized void put (String principal, AuthTime time, long currTime)

Puts the client timestamp in replay cache.

Parameters
principal
time
currTime