|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.directory.server.kerberos.shared.replay.InMemoryReplayCache.ReplayCacheEntry
public class InMemoryReplayCache.ReplayCacheEntry
A structure to hold an entry
Constructor Summary | |
---|---|
InMemoryReplayCache.ReplayCacheEntry(javax.security.auth.kerberos.KerberosPrincipal serverPrincipal,
javax.security.auth.kerberos.KerberosPrincipal clientPrincipal,
KerberosTime clientTime,
int clientMicroSeconds)
Creates a new instance of ReplayCacheEntry. |
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public InMemoryReplayCache.ReplayCacheEntry(javax.security.auth.kerberos.KerberosPrincipal serverPrincipal, javax.security.auth.kerberos.KerberosPrincipal clientPrincipal, KerberosTime clientTime, int clientMicroSeconds)
serverPrincipal
- clientPrincipal
- clientTime
- clientMicroSeconds
- Method Detail |
---|
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.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |