-// public void addFactoryDeployConfig(String factoryPid, Dictionary<String, Object> props) {
-// deployConfig.putFactoryDeployConfig(factoryPid, props);
-// deployConfig.save();
-// try {
-// deployConfig.loadConfigs();
-// } catch (IOException e) {
-// throw new IllegalStateException(e);
-// }
-// }
-//
-// public Dictionary<String, Object> getProps(String factoryPid, String cn) {
-// return deployConfig.getProps(factoryPid, cn);
-// }
-
-// public boolean isHttpAvailableOrNotExpected() {
-// return (httpExpected ? httpService != null : true);
-// }
-
-// private void loadIpaJaasConfiguration() {
-// if (System.getProperty(KernelConstants.JAAS_CONFIG_PROP) == null) {
-// String jaasConfig = KernelConstants.JAAS_CONFIG_IPA;
-// URL url = getClass().getClassLoader().getResource(jaasConfig);
-// KernelUtils.setJaasConfiguration(url);
-// log.debug("Set IPA JAAS configuration.");
-// }
-// }
-