org.apache.directory.server.kerberos.shared.replay
Interface ReplayCache

All Known Implementing Classes:
InMemoryReplayCache

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."

Version:
$Rev: 558297 $, $Date: 2007-07-21 07:13:51 -0400 (Sat, 21 Jul 2007) $
Author:
Apache Directory Project

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.
 

Method Detail

isReplay

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.

Parameters:
serverPrincipal -
clientPrincipal -
clientTime -
clientMicroSeconds -
Returns:
true if the request is a replay.

save

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.

Parameters:
serverPrincipal -
clientPrincipal -
clientTime -
clientMicroSeconds -


Copyright © 2003-2007 The Apache Software Foundation. All Rights Reserved.