aboutsummaryrefslogtreecommitdiff
path: root/id.server/src/at/gv/egovernment/moa
diff options
context:
space:
mode:
authorharald.bratko <harald.bratko@d688527b-c9ab-4aba-bd8d-4036d912da1d>2005-09-28 14:24:35 +0000
committerharald.bratko <harald.bratko@d688527b-c9ab-4aba-bd8d-4036d912da1d>2005-09-28 14:24:35 +0000
commit5af4e04914b9cacba841cb90c90e4d103746bf3e (patch)
tree9db000c62fa5e92145bbc8486f68c0554789cd39 /id.server/src/at/gv/egovernment/moa
parent41a6b0c5304ef7bd29e59c3bf37c76728eb6daf8 (diff)
downloadmoa-id-spss-5af4e04914b9cacba841cb90c90e4d103746bf3e.tar.gz
moa-id-spss-5af4e04914b9cacba841cb90c90e4d103746bf3e.tar.bz2
moa-id-spss-5af4e04914b9cacba841cb90c90e4d103746bf3e.zip
organized imports
git-svn-id: https://joinup.ec.europa.eu/svn/moa-idspss/trunk@518 d688527b-c9ab-4aba-bd8d-4036d912da1d
Diffstat (limited to 'id.server/src/at/gv/egovernment/moa')
-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);