public class ReplayCacheImpl.ReplayCacheEntry extends Object implements Serializable
Constructor and Description |
---|
ReplayCacheImpl.ReplayCacheEntry(KerberosPrincipal serverPrincipal,
KerberosPrincipal clientPrincipal,
KerberosTime clientTime,
int clientMicroSeconds)
Creates a new instance of ReplayCacheEntry.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(ReplayCacheImpl.ReplayCacheEntry that)
Returns whether this
ReplayCacheImpl.ReplayCacheEntry is equal to another ReplayCacheImpl.ReplayCacheEntry . |
boolean |
isOutsideClockSkew(long clockSkew)
Returns whether this
ReplayCacheImpl.ReplayCacheEntry is older than a given time. |
public ReplayCacheImpl.ReplayCacheEntry(KerberosPrincipal serverPrincipal, KerberosPrincipal clientPrincipal, KerberosTime clientTime, int clientMicroSeconds)
serverPrincipal
- clientPrincipal
- clientTime
- clientMicroSeconds
- public boolean equals(ReplayCacheImpl.ReplayCacheEntry that)
ReplayCacheImpl.ReplayCacheEntry
is equal to another ReplayCacheImpl.ReplayCacheEntry
.
ReplayCacheImpl.ReplayCacheEntry
's are equal when the server name, client name, client time, and
the client microseconds are equal.that
- public boolean isOutsideClockSkew(long clockSkew)
ReplayCacheImpl.ReplayCacheEntry
is older than a given time.clockSkew
- ReplayCacheImpl.ReplayCacheEntry
's client time is outside the clock skew time.Copyright © 2003-2014 The Apache Software Foundation. All Rights Reserved.