aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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();