aboutsummaryrefslogtreecommitdiff
path: root/DocumentService/src/eu/stork/documentservice/utils/Bootstrap.java
diff options
context:
space:
mode:
authorAlexander Marsalek <amarsalek@iaik.tugraz.at>2014-06-05 19:39:27 +0200
committerAlexander Marsalek <amarsalek@iaik.tugraz.at>2014-06-05 19:39:27 +0200
commitdccc8304cbe2b10ddb703fa52895dbc09dd70643 (patch)
tree323ac614040c26e0944c215e33cdc8373e995ae5 /DocumentService/src/eu/stork/documentservice/utils/Bootstrap.java
parentf81b3716ac27094ab1845668cb38a1fe6a2d5f8c (diff)
downloadmoa-id-spss-dccc8304cbe2b10ddb703fa52895dbc09dd70643.tar.gz
moa-id-spss-dccc8304cbe2b10ddb703fa52895dbc09dd70643.tar.bz2
moa-id-spss-dccc8304cbe2b10ddb703fa52895dbc09dd70643.zip
DTL support added (incoming)
Diffstat (limited to 'DocumentService/src/eu/stork/documentservice/utils/Bootstrap.java')
-rw-r--r--DocumentService/src/eu/stork/documentservice/utils/Bootstrap.java31
1 files changed, 31 insertions, 0 deletions
diff --git a/DocumentService/src/eu/stork/documentservice/utils/Bootstrap.java b/DocumentService/src/eu/stork/documentservice/utils/Bootstrap.java
new file mode 100644
index 000000000..72da74e52
--- /dev/null
+++ b/DocumentService/src/eu/stork/documentservice/utils/Bootstrap.java
@@ -0,0 +1,31 @@
+package eu.stork.documentservice.utils;
+
+import org.opensaml.DefaultBootstrap;
+import org.opensaml.xml.ConfigurationException;
+
+public class Bootstrap extends DefaultBootstrap {
+
+ static boolean initializied = false;
+ public static synchronized void bootstrap() throws ConfigurationException {
+
+ if(!initializied)
+ {
+ initializeXMLSecurity();
+
+ initializeXMLTooling();
+
+// initializeArtifactBuilderFactories();
+//
+// initializeGlobalSecurityConfiguration();
+//
+// initializeParserPool();
+//
+// initializeESAPI();
+ }
+ else
+ {
+ System.out.println("Skipping initialization...");
+ }
+ }
+
+}