aboutsummaryrefslogtreecommitdiff
path: root/id.server
diff options
context:
space:
mode:
Diffstat (limited to 'id.server')
-rw-r--r--id.server/src/at/gv/egovernment/moa/id/auth/MOAIDAuthInitializer.java18
1 files changed, 7 insertions, 11 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 d1b7a927c..7964e2fb6 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
@@ -3,12 +3,13 @@ package at.gv.egovernment.moa.id.auth;
import iaik.pki.PKIException;
import iaik.pki.jsse.IAIKX509TrustManager;
-import java.security.GeneralSecurityException;
-import java.util.HashMap;
-
-import java.io.File;
import java.io.IOException;
+import java.security.GeneralSecurityException;
+import java.util.Properties;
+import javax.activation.CommandMap;
+import javax.activation.MailcapCommandMap;
+import javax.mail.Session;
import javax.net.ssl.SSLSocketFactory;
import at.gv.egovernment.moa.id.config.ConfigurationException;
@@ -24,10 +25,6 @@ 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;
-import javax.activation.MailcapCommandMap;
-import javax.activation.CommandMap;
-import java.util.Properties;
-import javax.mail.Session;
/**
* Web application initializer
@@ -64,8 +61,7 @@ public class MOAIDAuthInitializer {
Session session = Session.getDefaultInstance(props, null);
// Restricts TLS cipher suites
- System
- .setProperty(
+ System.setProperty(
"https.cipherSuites",
"SSL_RSA_WITH_RC4_128_SHA,SSL_RSA_WITH_RC4_128_MD5,SSL_RSA_WITH_3DES_EDE_CBC_SHA");
// load some jsse classes so that the integrity of the jars can be
@@ -103,7 +99,7 @@ public class MOAIDAuthInitializer {
new LoggingContext("startup"));
ConfigurationProvider config = ConfigurationProvider
.getInstance();
- new IaikConfigurator().configure(config);
+ new IaikConfigurator().configure(config);
} catch (at.gv.egovernment.moa.spss.server.config.ConfigurationException ex) {
throw new ConfigurationException("config.10", new Object[] { ex
.toString() }, ex);