|
||||||||||
| 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
public class InMemoryReplayCache
"The replay cache will store at least the server name, along with the client name, time, and microsecond fields from the recently-seen authenticators, and if a matching tuple is found, the KRB_AP_ERR_REPEAT error is returned."
| Constructor Summary | |
|---|---|
InMemoryReplayCache()
|
|
| Method Summary | |
|---|---|
boolean |
isReplay(javax.security.auth.kerberos.KerberosPrincipal serverPrincipal,
javax.security.auth.kerberos.KerberosPrincipal clientPrincipal,
KerberosTime clientTime,
int clientMicroSeconds)
Returns whether a request is a replay, based on the server principal, client principal, time, and microseconds. |
void |
save(javax.security.auth.kerberos.KerberosPrincipal serverPrincipal,
javax.security.auth.kerberos.KerberosPrincipal clientPrincipal,
KerberosTime clientTime,
int clientMicroSeconds)
Saves the server principal, client principal, time, and microseconds to the replay cache. |
void |
setClockSkew(long clockSkew)
Sets the clock skew. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public InMemoryReplayCache()
| Method Detail |
|---|
public void setClockSkew(long clockSkew)
clockSkew -
public boolean isReplay(javax.security.auth.kerberos.KerberosPrincipal serverPrincipal,
javax.security.auth.kerberos.KerberosPrincipal clientPrincipal,
KerberosTime clientTime,
int clientMicroSeconds)
ReplayCache
isReplay in interface ReplayCache
public void save(javax.security.auth.kerberos.KerberosPrincipal serverPrincipal,
javax.security.auth.kerberos.KerberosPrincipal clientPrincipal,
KerberosTime clientTime,
int clientMicroSeconds)
ReplayCache
save in interface ReplayCache
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||