Top Description Constructors Methods
sun.security.krb5.internal

public abstract Class ReplayCache

extends Object
Class Inheritance
Known Direct Subclasses
sun.security.krb5.internal.rcache.DflCache, sun.security.krb5.internal.rcache.MemoryCache
Imports
sun.security.action.GetPropertyAction, sun.security.krb5.internal.rcache.AuthTimeWithHash, .MemoryCache, .DflCache

Models the replay cache of an acceptor as described in RFC 4120 3.2.3.
Since
1.8

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public abstract void
checkAndStore(KerberosTime
the current time
currTime
,
AuthTimeWithHash
AuthTimeWithHash object calculated from authenticator
time
)

Accepts or rejects an AuthTime.

public static ReplayCache
public static ReplayCache
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

ReplayCacheback to summary
public ReplayCache()

Method Detail

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

Accepts or rejects an AuthTime.

Parameters
currTime:KerberosTime

the current time

time:AuthTimeWithHash

AuthTimeWithHash object calculated from authenticator

Exceptions
KrbApErrException:
if the authenticator is a replay
getInstanceback to summary
public static ReplayCache getInstance(String type)
getInstanceback to summary
public static ReplayCache getInstance()