| 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
|
[Expand]
Inherited Constants |
From class
java.util.Hashtable
| int |
ENTRIES |
|
| int |
KEYS |
|
| int |
VALUES |
|
| long |
serialVersionUID |
|
|
|
[Expand]
Inherited Fields |
From class
java.util.Hashtable
|
private
int |
count |
|
|
private
static
Enumeration |
emptyEnumerator |
|
|
private
static
Iterator |
emptyIterator |
|
|
private
Set<Entry<K, V>> |
entrySet |
|
|
private
Set<K> |
keySet |
|
|
private
float |
loadFactor |
|
|
private
int |
modCount |
|
|
private
Entry[] |
table |
|
|
private
int |
threshold |
|
|
private
Collection<V> |
values |
|
|
| 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
|
synchronized
void
|
clear()
|
|
synchronized
Object
|
clone()
|
|
synchronized
boolean
|
contains(Object arg0)
|
|
synchronized
boolean
|
containsKey(Object arg0)
|
|
boolean
|
containsValue(Object arg0)
|
|
synchronized
Enumeration<V>
|
elements()
|
|
Set<Entry<K, V>>
|
entrySet()
|
|
synchronized
boolean
|
equals(Object arg0)
|
|
synchronized
V
|
get(Object arg0)
|
|
synchronized
int
|
hashCode()
|
|
synchronized
boolean
|
isEmpty()
|
|
Set<K>
|
keySet()
|
|
synchronized
Enumeration<K>
|
keys()
|
|
synchronized
V
|
put(K arg0, V arg1)
|
|
synchronized
void
|
putAll(Map<? extends K, ? extends V> arg0)
|
|
void
|
rehash()
|
|
synchronized
V
|
remove(Object arg0)
|
|
synchronized
int
|
size()
|
|
synchronized
String
|
toString()
|
|
Collection<V>
|
values()
|
|
From class
java.util.Dictionary
|
abstract
Enumeration<V>
|
elements()
|
|
abstract
V
|
get(Object arg0)
|
|
abstract
boolean
|
isEmpty()
|
|
abstract
Enumeration<K>
|
keys()
|
|
abstract
V
|
put(K arg0, V arg1)
|
|
abstract
V
|
remove(Object arg0)
|
|
abstract
int
|
size()
|
|
From class
java.lang.Object
|
Object
|
clone()
|
|
boolean
|
equals(Object arg0)
|
|
void
|
finalize()
|
|
final
Class<?>
|
getClass()
|
|
int
|
hashCode()
|
|
final
void
|
notify()
|
|
final
void
|
notifyAll()
|
|
String
|
toString()
|
|
final
void
|
wait()
|
|
final
void
|
wait(long arg0, int arg1)
|
|
final
void
|
wait(long arg0)
|
|
From interface
java.util.Map
|
abstract
void
|
clear()
|
|
abstract
boolean
|
containsKey(Object arg0)
|
|
abstract
boolean
|
containsValue(Object arg0)
|
|
abstract
Set<Entry<K, V>>
|
entrySet()
|
|
abstract
boolean
|
equals(Object arg0)
|
|
abstract
V
|
get(Object arg0)
|
|
abstract
int
|
hashCode()
|
|
abstract
boolean
|
isEmpty()
|
|
abstract
Set<K>
|
keySet()
|
|
abstract
V
|
put(K arg0, V arg1)
|
|
abstract
void
|
putAll(Map<? extends K, ? extends V> arg0)
|
|
abstract
V
|
remove(Object arg0)
|
|
abstract
int
|
size()
|
|
abstract
Collection<V>
|
values()
|
|
Constants
private
static
final
long
serialVersionUID
Constant Value:
-4695501354546664910
(0xbed63a6557e16a32)
Fields
Public Constructors
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.
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.