diff options
Diffstat (limited to 'spss/server/serverlib/src/main/java/at/gv/egovernment/moa/spss/server/init/SystemInitializer.java')
-rw-r--r-- | spss/server/serverlib/src/main/java/at/gv/egovernment/moa/spss/server/init/SystemInitializer.java | 24 |
1 files changed, 9 insertions, 15 deletions
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) { |