Connection Manager 3.6.3 Javadoc

org.jivesoftware.multiplexer.net
Class SSLJiveServerSocketFactory

java.lang.Object
  extended by javax.net.ServerSocketFactory
      extended by javax.net.ssl.SSLServerSocketFactory
          extended by org.jivesoftware.multiplexer.net.SSLJiveServerSocketFactory

public class SSLJiveServerSocketFactory
extends javax.net.ssl.SSLServerSocketFactory

Securue socket factory wrapper allowing simple setup of all security SSL related parameters.

This class was copied from Openfire.

Author:
Gaston Dombiak

Method Summary
 java.net.ServerSocket createServerSocket(int i)
           
 java.net.ServerSocket createServerSocket(int i, int i1)
           
 java.net.ServerSocket createServerSocket(int i, int i1, java.net.InetAddress inetAddress)
           
 java.lang.String[] getDefaultCipherSuites()
           
static javax.net.ssl.SSLServerSocketFactory getInstance(java.lang.String algorithm, java.security.KeyStore keystore, java.security.KeyStore truststore)
           
 java.lang.String[] getSupportedCipherSuites()
           
 
Methods inherited from class javax.net.ssl.SSLServerSocketFactory
getDefault
 
Methods inherited from class javax.net.ServerSocketFactory
createServerSocket
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static javax.net.ssl.SSLServerSocketFactory getInstance(java.lang.String algorithm,
                                                               java.security.KeyStore keystore,
                                                               java.security.KeyStore truststore)
                                                        throws java.io.IOException
Throws:
java.io.IOException

createServerSocket

public java.net.ServerSocket createServerSocket(int i)
                                         throws java.io.IOException
Specified by:
createServerSocket in class javax.net.ServerSocketFactory
Throws:
java.io.IOException

createServerSocket

public java.net.ServerSocket createServerSocket(int i,
                                                int i1)
                                         throws java.io.IOException
Specified by:
createServerSocket in class javax.net.ServerSocketFactory
Throws:
java.io.IOException

createServerSocket

public java.net.ServerSocket createServerSocket(int i,
                                                int i1,
                                                java.net.InetAddress inetAddress)
                                         throws java.io.IOException
Specified by:
createServerSocket in class javax.net.ServerSocketFactory
Throws:
java.io.IOException

getDefaultCipherSuites

public java.lang.String[] getDefaultCipherSuites()
Specified by:
getDefaultCipherSuites in class javax.net.ssl.SSLServerSocketFactory

getSupportedCipherSuites

public java.lang.String[] getSupportedCipherSuites()
Specified by:
getSupportedCipherSuites in class javax.net.ssl.SSLServerSocketFactory

Connection Manager 3.6.3 Javadoc

Copyright © 2003-2006 Jive Software.