jap
Class JAPConfCertSavePoint

java.lang.Object
  extended by jap.JAPConfCertSavePoint
All Implemented Interfaces:
IJAPConfSavePoint

public class JAPConfCertSavePoint
extends java.lang.Object
implements IJAPConfSavePoint

This is the implementation for the certificate management savepoint. It is needed for restoring an old or the default configuration, if the user presses "Cancel" or "Reset to defaults".


Field Summary
private  java.util.Vector m_unverifiedPersisitentCertificates
          Stores all unverified persistent certificates of the verification certificate store.
 
Constructor Summary
JAPConfCertSavePoint()
          Creates a new instance of JAPConfCertSavePoint.
 
Method Summary
 void createSavePoint()
          This method will store the current certificate configuration in this savepoint.
 void restoreDefaults()
          Restores the default certificate configuration.
 void restoreSavePoint()
          Restores the old certificate configuration (stored with the last call of createSavePoint()).
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

m_unverifiedPersisitentCertificates

private java.util.Vector m_unverifiedPersisitentCertificates
Stores all unverified persistent certificates of the verification certificate store. This is enough, because the user can only add unverified persistent certificates and nothing else. So it's enough to restore those.

Constructor Detail

JAPConfCertSavePoint

public JAPConfCertSavePoint()
Creates a new instance of JAPConfCertSavePoint. We do some initialization here.

Method Detail

createSavePoint

public void createSavePoint()
This method will store the current certificate configuration in this savepoint.

Specified by:
createSavePoint in interface IJAPConfSavePoint

restoreSavePoint

public void restoreSavePoint()
Restores the old certificate configuration (stored with the last call of createSavePoint()).

Specified by:
restoreSavePoint in interface IJAPConfSavePoint

restoreDefaults

public void restoreDefaults()
Restores the default certificate configuration.

Specified by:
restoreDefaults in interface IJAPConfSavePoint