Refreshable


Refreshable javax.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



Java In A Nutshell
Java In A Nutshell, 5th Edition
ISBN: 0596007736
EAN: 2147483647
Year: 2004
Pages: 1220

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net