APIdia Launch Partner
Top Description Fields Constructors Methods
sun.security.krb5.internal.rcache

public Class MemoryCache

extends ReplayCache
Class Inheritance
Imports
java.util.Map, java.util.concurrent.ConcurrentHashMap, sun.security.krb5.internal.KerberosTime, .KrbApErrException, .ReplayCache

This class stores replay caches. AuthTimeWithHash objects are categorized into AuthLists keyed by the names of client and server.
Author
Yanni Zhang

Field Summary

Modifier and TypeField and Description
private final Map<String, AuthList>
private static final int

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public synchronized void
checkAndStore(KerberosTime currTime, AuthTimeWithHash time)

Implements abstract sun.security.krb5.internal.ReplayCache.checkAndStore.

Accepts or rejects an AuthTime.

public String
toString()

Overrides java.lang.Object.toString.

Returns a string representation of the object.

Inherited from sun.security.krb5.internal.ReplayCache:
getInstancegetInstance

Field Detail

contentback to summary
private final Map<String, AuthList> content
lifespanback to summary
private static final int lifespan

Constructor Detail

MemoryCacheback to summary
public MemoryCache()

Method Detail

checkAndStoreback to summary
public synchronized void checkAndStore(KerberosTime currTime, AuthTimeWithHash time) throws KrbApErrException

Implements abstract sun.security.krb5.internal.ReplayCache.checkAndStore.

Doc from sun.security.krb5.internal.ReplayCache.checkAndStore.

Accepts or rejects an AuthTime.

Annotations
@Override
Exceptions
KrbApErrException:
if the authenticator is a replay
toStringback to summary
public String toString()

Overrides java.lang.Object.toString.

Doc from java.lang.Object.toString.

Returns a string representation of the object. Satisfying this method's contract implies a non-null result must be returned.