org.edg.security.voms.service
Class CAUpdater
java.lang.Object
|
+--java.util.TimerTask
|
+--org.edg.security.voms.service.CAUpdater
- All Implemented Interfaces:
- java.lang.Runnable
- public final class CAUpdater
- extends java.util.TimerTask
Updater for the CA table.
This class loads the list of acceptable Certificate Authorities
from a preconfigured (voms.cafiles) fileset or by default from
the "/etc/grid-security/certificates/*.0" files.
If it finds a CA, which is not yet in the virtual organization's
CA table, then it inserts a record.
- Version:
- $Id: CAUpdater.java,v 1.18 2003/11/30 19:00:03 szamcsi Exp $
- Author:
- Akos Frohner, Karoly Lorentey
Fields inherited from class java.util.TimerTask |
|
Methods inherited from class java.util.TimerTask |
cancel, scheduledExecutionTime |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
private static org.apache.log4j.Logger log
cup
private static CAUpdater cup
timer
private VOMSTimer timer
period
private long period
CAUpdater
private CAUpdater(VOMSTimer timer)
theCAUpdater
public static CAUpdater theCAUpdater()
run
public void run()
- The method to be called by the Timer.
- Specified by:
run
in interface java.lang.Runnable
- Specified by:
run
in class java.util.TimerTask
updateCAs
public void updateCAs()
- Loads the list of CAs into the CA table. This also sets the
security context to the local administrator's attributes.