org.eclipse.higgins.configuration.xml
Class CertificateHandler

java.lang.Object
  extended byorg.eclipse.higgins.configuration.xml.MapHandler
      extended byorg.eclipse.higgins.configuration.xml.CertificateHandler
All Implemented Interfaces:
ISettingHandler

public class CertificateHandler
extends MapHandler

Certificate setting is a map that contains keystore name and alias. Keystore is looked up (by name) in mapSettings. Alias is then used to retrieve X.509 certificate from keystore.

Author:
mikemci

Constructor Summary
CertificateHandler()
           
 
Method Summary
 Object getSetting(String strName, String strConfigurationBase, Map mapSettingHandlers, Map mapSettingsGlobal, Object settingsParent, org.apache.axiom.om.OMElement omSetting)
          Method to convert XML element (omSetting) to an object that will be placed into a configuration map.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CertificateHandler

public CertificateHandler()
Method Detail

getSetting

public Object getSetting(String strName,
                         String strConfigurationBase,
                         Map mapSettingHandlers,
                         Map mapSettingsGlobal,
                         Object settingsParent,
                         org.apache.axiom.om.OMElement omSetting)
                  throws Exception
Description copied from interface: ISettingHandler
Method to convert XML element (omSetting) to an object that will be placed into a configuration map. The type of the returned object is implicitly determined by the class implementing the ISettingHandler interface.

Specified by:
getSetting in interface ISettingHandler
Overrides:
getSetting in class MapHandler
Throws:
Exception