|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ReplayCache
"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."
| Method Summary | |
|---|---|
void |
clear()
removes all the elements present in the cache |
boolean |
isReplay(KerberosPrincipal serverPrincipal,
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(KerberosPrincipal serverPrincipal,
KerberosPrincipal clientPrincipal,
KerberosTime clientTime,
int clientMicroSeconds)
Saves the server principal, client principal, time, and microseconds to the replay cache. |
| Method Detail |
|---|
boolean isReplay(KerberosPrincipal serverPrincipal,
KerberosPrincipal clientPrincipal,
KerberosTime clientTime,
int clientMicroSeconds)
serverPrincipal - The server principalclientPrincipal - The client principalclientTime - The client timeclientMicroSeconds - The client microsecond
void save(KerberosPrincipal serverPrincipal,
KerberosPrincipal clientPrincipal,
KerberosTime clientTime,
int clientMicroSeconds)
serverPrincipal - The server principalclientPrincipal - The client principalclientTime - The client timeclientMicroSeconds - The client microsecondvoid clear()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||