public static class ReplayCacheImpl.ReplayCacheEntry
extends java.lang.Object
implements java.io.Serializable
| Modifier and Type | Field and Description |
|---|---|
private int |
clientMicroSeconds
The client micro seconds
|
private javax.security.auth.kerberos.KerberosPrincipal |
clientPrincipal
The client principal
|
private KerberosTime |
clientTime
The client time
|
private static long |
serialVersionUID |
private javax.security.auth.kerberos.KerberosPrincipal |
serverPrincipal
The server principal
|
| Constructor and Description |
|---|
ReplayCacheEntry(javax.security.auth.kerberos.KerberosPrincipal serverPrincipal,
javax.security.auth.kerberos.KerberosPrincipal clientPrincipal,
KerberosTime clientTime,
int clientMicroSeconds)
Creates a new instance of ReplayCacheEntry.
|
| Modifier and Type | Method and Description |
|---|---|
private java.lang.String |
createKey() |
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. |
private static final long serialVersionUID
private javax.security.auth.kerberos.KerberosPrincipal serverPrincipal
private javax.security.auth.kerberos.KerberosPrincipal clientPrincipal
private KerberosTime clientTime
private int clientMicroSeconds
public ReplayCacheEntry(javax.security.auth.kerberos.KerberosPrincipal serverPrincipal,
javax.security.auth.kerberos.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.private java.lang.String createKey()