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