From 5af4e04914b9cacba841cb90c90e4d103746bf3e Mon Sep 17 00:00:00 2001 From: "harald.bratko" Date: Wed, 28 Sep 2005 14:24:35 +0000 Subject: organized imports git-svn-id: https://joinup.ec.europa.eu/svn/moa-idspss/trunk@518 d688527b-c9ab-4aba-bd8d-4036d912da1d --- .../egovernment/moa/id/auth/MOAIDAuthInitializer.java | 18 +++++++----------- 1 file 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); -- cgit v1.2.3