From 29f4a42701b3f2952adc1bdbc463f280b23d3d26 Mon Sep 17 00:00:00 2001 From: kstranacher_eGovL Date: Mon, 10 Dec 2012 14:40:00 +0000 Subject: git-svn-id: https://joinup.ec.europa.eu/svn/moa-idspss/trunk@1300 d688527b-c9ab-4aba-bd8d-4036d912da1d --- .../moa/spss/server/init/SystemInitializer.java | 24 ++++++++-------------- 1 file changed, 9 insertions(+), 15 deletions(-) (limited to 'spss/server/serverlib/src/main') diff --git a/spss/server/serverlib/src/main/java/at/gv/egovernment/moa/spss/server/init/SystemInitializer.java b/spss/server/serverlib/src/main/java/at/gv/egovernment/moa/spss/server/init/SystemInitializer.java index 71cf4f25b..b4b172c8a 100644 --- a/spss/server/serverlib/src/main/java/at/gv/egovernment/moa/spss/server/init/SystemInitializer.java +++ b/spss/server/serverlib/src/main/java/at/gv/egovernment/moa/spss/server/init/SystemInitializer.java @@ -118,11 +118,11 @@ public class SystemInitializer { Map mapTrustProfiles = config.getTrustProfiles(); -// Iterator it = mapTrustProfiles.entrySet().iterator(); -// while (it.hasNext()) { -// Map.Entry pairs = (Map.Entry)it.next(); -// System.out.println(pairs.getKey() + " = " + pairs.getValue()); -// } + Iterator it = mapTrustProfiles.entrySet().iterator(); + while (it.hasNext()) { + Map.Entry pairs = (Map.Entry)it.next(); + System.out.println(pairs.getKey() + " = " + pairs.getValue()); + } //@TSL get parameters for StoreUpdater CertStoreParameters[] certStoreParameters = configData.getPKIConfiguration().getCertStoreConfiguration().getParameters(); @@ -130,19 +130,13 @@ public class SystemInitializer { TransactionId tid = null; - - - //@TSL Init TSL Module -// X509Certificate[] removeCertificates = null; -// X509Certificate[] addCertificates = null; -// -// // + X509Certificate[] removeCertificates = null; + X509Certificate[] addCertificates = null; + // iaik.pki.store.utils.StoreUpdater storeUpdater = new StoreUpdater(certStoreParameters, trustStoreProfiles, tid); // storeUpdater.removeCertificatesFromTrustStores(removeCertificates, tid); -// -// storeUpdater.addCertificatesToTrustStores(addCertificates, tid); -// + Logger.info(new LogMsg(msg.getMessage("init.01", null))); } catch (MOAException e) { -- cgit v1.2.3