Team LiB
Previous Section Next Section

Refreshablejavax.security.auth

Java 1.4

A class implements this interface if its instances that have a limited period of validity (as some security credentials do) and need to be periodically "refreshed" in order to remain valid. isCurrent( ) returns true if the object is currently valid, and false if it has expired and needs to be refreshed. refresh( ) attempts to revalidate or extend the validity of the object. It throws a RefreshFailedException if it does not succeed. (And may also throw a SecurityException if the caller does not have the requisite permissions.)

public interface Refreshable {
// Public Instance Methods
     boolean isCurrent( );  
     void refresh( ) throws RefreshFailedException;  
}

Implementations

javax.security.auth.kerberos.KerberosTicket

    Team LiB
    Previous Section Next Section