javax.security.auth
Interface Refreshable

All Known Implementing Classes:
KerberosTicket

public interface Refreshable

An object whose internal state may be refreshed: as in a credential object with a expiry date.


Method Summary
 boolean isCurrent()
          Tells whether or not this object is current.
 void refresh()
          Refresh this object.
 

Method Detail

isCurrent

boolean isCurrent()
Tells whether or not this object is current. Refreshable objects that are not current may need to be refreshed.

Returns:
Whether this object is current.

refresh

void refresh()
             throws RefreshFailedException
Refresh this object. The process involved in refreshing an object is per-implementation dependent.

Throws:
RefreshFailedException - If refreshing this object fails.
SecurityException - If the caller does not have permission to refresh, or to take the steps involved in refreshing, this object.