krb5.util.replaycache
Class ReplayCacheEntry

java.lang.Object
  extended by krb5.util.replaycache.ReplayCacheEntry

public class ReplayCacheEntry
extends java.lang.Object

Class Description : Entry data structure of the replay cache.

Version:
1.1
Author:
Bojan Pajkovski

Constructor Summary
ReplayCacheEntry(PrincipalName _sname, Realm _srealm, KerberosTime pATimeStamp, java.lang.Integer pAUSec)
          Class constructor
 
Method Summary
 boolean equals(ReplayCacheEntry other)
          Check whether two replay cache entries are the same
 boolean expired(KerberosTime time)
          Checks whether a record has expired
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReplayCacheEntry

public ReplayCacheEntry(PrincipalName _sname,
                        Realm _srealm,
                        KerberosTime pATimeStamp,
                        java.lang.Integer pAUSec)
Class constructor

Parameters:
_sname - PrincipalName
_srealm - Realm
pATimeStamp - KerberosTime
pAUSec - Integer
See Also:
PrincipalName, Realm, Authenticator
Method Detail

equals

public boolean equals(ReplayCacheEntry other)
Check whether two replay cache entries are the same

Parameters:
other - ReplayCacheEntry
Returns:
boolean

expired

public boolean expired(KerberosTime time)
Checks whether a record has expired

Parameters:
time - is of type KerberosTime
Returns:
boolean
See Also:
KerberosTime