org.opentox.toxotis.util.aa
Class SSLConfiguration

java.lang.Object
  extended by org.opentox.toxotis.util.aa.SSLConfiguration

public class SSLConfiguration
extends Object

Manages your SSL connections. The method initializeSSLConnection() in this class should be invoked prior to any SSL connection in order to identify the remote server's certificate during the handshake. IMPORTANT NOTE: You have to add the certificate from opensso.in-silico.ch to your $JAVA_HOME. To do this, run the main method in InstallCert (this is provided by Sun). This will produce a file (ignore the exception messages).

Author:
Pantelis Sopasakis, Charalampos Chomenides

Constructor Summary
SSLConfiguration()
           
 
Method Summary
static void initializeSSLConnection()
           
static boolean isAcceptAllCerts()
           
static void setAcceptAllCerts(boolean acceptAllCerts)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SSLConfiguration

public SSLConfiguration()
Method Detail

isAcceptAllCerts

public static boolean isAcceptAllCerts()

setAcceptAllCerts

public static void setAcceptAllCerts(boolean acceptAllCerts)

initializeSSLConnection

public static void initializeSSLConnection()


Copyright © 2011-2012 OpenTox. All Rights Reserved.