diff options
author | Thomas Lenz <tlenz@iaik.tugraz.at> | 2016-06-29 14:36:26 +0200 |
---|---|---|
committer | Thomas Lenz <tlenz@iaik.tugraz.at> | 2016-06-29 14:36:26 +0200 |
commit | 2c06447686dfae609503b24c2711223888bead82 (patch) | |
tree | d153f1fe4868e2377c7b1decf5a8e2820f2801eb | |
parent | 3551fb059dc4cda80036ab8bd3ea8794e5620f72 (diff) | |
download | moa-id-spss-2c06447686dfae609503b24c2711223888bead82.tar.gz moa-id-spss-2c06447686dfae609503b24c2711223888bead82.tar.bz2 moa-id-spss-2c06447686dfae609503b24c2711223888bead82.zip |
small change in SSLTrustManager CertStore config
-rw-r--r-- | id/server/moa-id-commons/src/main/java/at/gv/egovernment/moa/id/commons/utils/ssl/CertStoreConfigurationImpl.java | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/id/server/moa-id-commons/src/main/java/at/gv/egovernment/moa/id/commons/utils/ssl/CertStoreConfigurationImpl.java b/id/server/moa-id-commons/src/main/java/at/gv/egovernment/moa/id/commons/utils/ssl/CertStoreConfigurationImpl.java index dcbec6bf6..d65cea08c 100644 --- a/id/server/moa-id-commons/src/main/java/at/gv/egovernment/moa/id/commons/utils/ssl/CertStoreConfigurationImpl.java +++ b/id/server/moa-id-commons/src/main/java/at/gv/egovernment/moa/id/commons/utils/ssl/CertStoreConfigurationImpl.java @@ -47,8 +47,7 @@ package at.gv.egovernment.moa.id.commons.utils.ssl; import java.io.File; -import java.util.HashMap; -import java.util.Map; +import java.util.Collections; import java.util.Set; import at.gv.egovernment.moa.logging.Logger; @@ -56,7 +55,6 @@ import iaik.pki.store.certstore.CertStoreConfiguration; import iaik.pki.store.certstore.CertStoreParameters; import iaik.pki.store.certstore.CertStoreTypes; import iaik.pki.store.certstore.directory.DirectoryCertStoreParameters; -import iaik.pki.store.certstore.directory.VirtualCertStore; /** * Implementation of interface needed to initialize an IAIK JSSE <code>TrustManager</code> @@ -132,7 +130,7 @@ public class CertStoreConfigurationImpl extends ObservableImpl * @see iaik.pki.store.certstore.directory.DirectoryCertStoreParameters#createNew() */ public boolean createNew() { - return false; + return true; } /** @@ -162,10 +160,8 @@ public class CertStoreConfigurationImpl extends ObservableImpl */ @Override public Set getVirtualStores() { - //TODO: only for Testing and not complete !!!Ask Harald !!!! - - Map<String, VirtualCertStore> vCertStore = new HashMap<String, VirtualCertStore>(); - return vCertStore.keySet(); + //TODO: only for Testing and not complete !!!Ask Harald !!!! + return Collections.EMPTY_SET; } |