aboutsummaryrefslogtreecommitdiff
path: root/id.server/src/at/gv/egovernment
diff options
context:
space:
mode:
authorrudolf <rudolf@d688527b-c9ab-4aba-bd8d-4036d912da1d>2005-01-21 18:27:35 +0000
committerrudolf <rudolf@d688527b-c9ab-4aba-bd8d-4036d912da1d>2005-01-21 18:27:35 +0000
commit048c9c94da9d4a1c9a5397634c4cb4a8604c3397 (patch)
tree6701a5fbd09d096b0c4344ddce76d0a418b32b08 /id.server/src/at/gv/egovernment
parent98535fd5aeefb1f56fb7b1cc0f4e087f95b3fc24 (diff)
downloadmoa-id-spss-048c9c94da9d4a1c9a5397634c4cb4a8604c3397.tar.gz
moa-id-spss-048c9c94da9d4a1c9a5397634c4cb4a8604c3397.tar.bz2
moa-id-spss-048c9c94da9d4a1c9a5397634c4cb4a8604c3397.zip
fill NS previx to NS mapping HashMap
git-svn-id: https://joinup.ec.europa.eu/svn/moa-idspss/trunk@240 d688527b-c9ab-4aba-bd8d-4036d912da1d
Diffstat (limited to 'id.server/src/at/gv/egovernment')
-rw-r--r--id.server/src/at/gv/egovernment/moa/id/auth/MOAIDAuthInitializer.java9
1 files changed, 9 insertions, 0 deletions
diff --git a/id.server/src/at/gv/egovernment/moa/id/auth/MOAIDAuthInitializer.java b/id.server/src/at/gv/egovernment/moa/id/auth/MOAIDAuthInitializer.java
index bfae6bf9c..30cb48587 100644
--- a/id.server/src/at/gv/egovernment/moa/id/auth/MOAIDAuthInitializer.java
+++ b/id.server/src/at/gv/egovernment/moa/id/auth/MOAIDAuthInitializer.java
@@ -4,6 +4,7 @@ import iaik.pki.PKIException;
import iaik.pki.jsse.IAIKX509TrustManager;
import java.security.GeneralSecurityException;
+import java.util.HashMap;
import java.io.IOException;
@@ -21,6 +22,7 @@ import at.gv.egovernment.moa.logging.LoggingContext;
import at.gv.egovernment.moa.logging.LoggingContextManager;
import at.gv.egovernment.moa.spss.server.config.ConfigurationProvider;
import at.gv.egovernment.moa.spss.server.iaik.config.IaikConfigurator;
+import at.gv.egovernment.moa.util.Constants;
/**
* Web application initializer
@@ -63,6 +65,13 @@ public class MOAIDAuthInitializer {
// Initializes SSLSocketFactory store
SSLUtils.initialize();
+ // Initializes Namespace Map
+ Constants.nSMap.put(Constants.SAML_PREFIX, Constants.SAML_NS_URI);
+ //TODO RS change to correct Namespace as soon BMI has corrected the wrong NS
+ //nSMap.put(Constants.ECDSA_PREFIX, Constants.ECDSA_NS_URI); correct version
+ Constants.nSMap.put(Constants.ECDSA_PREFIX, "http://www.w3.org/2004/01/xmldsig-more#");
+ Constants.nSMap.put(Constants.DSIG_PREFIX, Constants.DSIG_NS_URI);
+
// Loads the configuration
AuthConfigurationProvider authConf = AuthConfigurationProvider.reload();
ConnectionParameter moaSPConnParam = authConf.getMoaSpConnectionParameter();