public class SizeRestrictedHashtable<K,V>
extends java.util.Hashtable<K,V>
Hashtable
that sets the upper bound in the total number of keys.
This is to protect against the DoS attack based on the hash key collision.
See http://www.ocert.org/advisories/ocert-2011-003.htmlConstructor and Description |
---|
SizeRestrictedHashtable(int cap) |
SizeRestrictedHashtable(int initialCapacity,
float loadFactor,
int cap) |
SizeRestrictedHashtable(int initialCapacity,
int cap) |
SizeRestrictedHashtable(java.util.Map<? extends K,? extends V> t,
int cap) |
Copyright © 2013. All Rights Reserved.