idman.sec
Class TLSClientSocketFactory

java.lang.Object
  |
  +--idman.sec.TLSClientSocketFactory
All Implemented Interfaces:
java.rmi.server.RMIClientSocketFactory, java.io.Serializable

public class TLSClientSocketFactory
extends java.lang.Object
implements java.rmi.server.RMIClientSocketFactory, java.io.Serializable

Fabrik zur Erzeugung von mit TLS gesicherten Verbindungen.

Version:
$Id: TLSClientSocketFactory.java,v 1.4 2003/10/14 12:44:36 tk4 Exp $
Author:
Thomas Kriegelstein
See Also:
Serialized Form

Field Summary
(package private)  java.util.Properties p
          Einstellungen.
 
Constructor Summary
TLSClientSocketFactory(java.util.Properties settings)
          Konstruktor.
 
Method Summary
 java.net.Socket createSocket(java.lang.String host, int port)
          Erzeugt eine Verbindung zum angegebenen Ziel.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

p

java.util.Properties p
Einstellungen.

Constructor Detail

TLSClientSocketFactory

public TLSClientSocketFactory(java.util.Properties settings)
Konstruktor.

Parameters:
settings - Die Einstellungen.
Method Detail

createSocket

public java.net.Socket createSocket(java.lang.String host,
                                    int port)
                             throws java.io.IOException
Erzeugt eine Verbindung zum angegebenen Ziel.

Specified by:
createSocket in interface java.rmi.server.RMIClientSocketFactory
Parameters:
host - Zieladresse der Verbindung.
port - Zielport der Verbindung.
Returns:
Verbindung zum Ziel.
Throws:
java.io.IOException - im Fehlerfall.


Copyright © 2003 DRIM Team. All Rights Reserved.