org.mule.management.agents
Class IBMSslAdapterServerSocketFactory
java.lang.Object
org.mule.management.agents.IBMSslAdapterServerSocketFactory
- public class IBMSslAdapterServerSocketFactory
- extends Object
This MBean creates SSLServerSocket instances.
It can be configured to use a specific keystore and SSL protocol version to create
SSLServerSockets that will use the keystore information to encrypt data.
A keystore can be created with this command:
keytool -genkey -v -keystore store.key -storepass storepwd -keypass keypwd -dname "CN=Simone Bordet, OU=Project Administrator, O=MX4J, L=Torino, S=TO, C=IT" -validity 365
or with this minimal command (that will prompt you for further information):
keytool -genkey -keystore store.key
A keystore may contains more than one entry, but only the first entry will be
used for encryption, no matter which is the alias for that entry. Following
the first example of generation of the keystore, this MBean must be instantiated
and then setup by invoking the following methods:
before createServerSocket(int, int, java.lang.String) is called.
- Version:
- $Revision: 3937 $
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IBMSslAdapterServerSocketFactory
public IBMSslAdapterServerSocketFactory()
setKeyStoreType
public void setKeyStoreType(String keyStoreType)
setTrustStoreType
public void setTrustStoreType(String trustStoreType)
setKeyStoreName
public void setKeyStoreName(String name)
setTrustStoreName
public void setTrustStoreName(String name)
setKeyStorePassword
public void setKeyStorePassword(String password)
setTrustStorePassword
public void setTrustStorePassword(String password)
setKeyManagerAlgorithm
public void setKeyManagerAlgorithm(String algorithm)
setTrustManagerAlgorithm
public void setTrustManagerAlgorithm(String algorithm)
setKeyManagerPassword
public void setKeyManagerPassword(String password)
setSSLProtocol
public void setSSLProtocol(String protocol)
createServerSocket
public ServerSocket createServerSocket(int port,
int backlog,
String host)
throws IOException
- Returns a SSLServerSocket on the given port.
- Throws:
IOException
Copyright © 2003-2006 MuleSource Inc.. All Rights Reserved.