public static class ReplayCacheImpl.ReplayCacheEntry extends Object implements Serializable
Constructor and Description |
---|
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 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–2020 The Apache Software Foundation. All rights reserved.