mx4j.tools.adaptor.ssl
Interface SSLAdaptorServerSocketFactoryMBean

All Superinterfaces:
AdaptorServerSocketFactory
All Known Implementing Classes:
SSLAdaptorServerSocketFactory

public interface SSLAdaptorServerSocketFactoryMBean
extends AdaptorServerSocketFactory

Management interface for the SSL ServerSocket factory

Version:
$Revision: 1.3 $

Method Summary
 void setKeyManagerAlgorithm(java.lang.String algorithm)
          Sets the key manager algorithm, by default is "SunX509".
 void setKeyManagerPassword(java.lang.String password)
          Sets the password to access the key present in the keystore.
 void setKeyStoreName(java.lang.String name)
          Sets the name of the keystore; if the keystore is of type JKS, then this is a file name, that will be resolved by the ClassLoader of this class, via getResourceAsStream.
 void setKeyStorePassword(java.lang.String password)
          Sets the password to access the keystore specified by setKeyStoreName(java.lang.String).
 void setKeyStoreType(java.lang.String keyStoreType)
          Sets the type of the keystore, by default is "JKS".
 void setSSLProtocol(java.lang.String protocol)
          Sets the SSL protocol version, by default is "TLS".
 void setTrustManagerAlgorithm(java.lang.String algorithm)
          Sets the trust manager algorithm, by default is "SunX509".
 void setTrustStoreName(java.lang.String name)
          Sets the name of the truststore; if the truststore is of type JKS, then this is a file name, that will be resolved by the ClassLoader of this class, via getResourceAsStream.
 void setTrustStorePassword(java.lang.String password)
          Sets the password to access the truststore specified by setTrustStoreName(java.lang.String).
 void setTrustStoreType(java.lang.String trustStoreType)
          Sets the type of the truststore, by default is "JKS".
 
Methods inherited from interface mx4j.tools.adaptor.AdaptorServerSocketFactory
createServerSocket
 

Method Detail

setKeyStoreType

void setKeyStoreType(java.lang.String keyStoreType)
Sets the type of the keystore, by default is "JKS".


setTrustStoreType

void setTrustStoreType(java.lang.String trustStoreType)
Sets the type of the truststore, by default is "JKS".


setKeyStoreName

void setKeyStoreName(java.lang.String name)
Sets the name of the keystore; if the keystore is of type JKS, then this is a file name, that will be resolved by the ClassLoader of this class, via getResourceAsStream.


setTrustStoreName

void setTrustStoreName(java.lang.String name)
Sets the name of the truststore; if the truststore is of type JKS, then this is a file name, that will be resolved by the ClassLoader of this class, via getResourceAsStream.


setKeyStorePassword

void setKeyStorePassword(java.lang.String password)
Sets the password to access the keystore specified by setKeyStoreName(java.lang.String).

It correspond to the value of the -storepass option of keytool.


setTrustStorePassword

void setTrustStorePassword(java.lang.String password)
Sets the password to access the truststore specified by setTrustStoreName(java.lang.String).

It correspond to the value of the -storepass option of keytool.


setKeyManagerAlgorithm

void setKeyManagerAlgorithm(java.lang.String algorithm)
Sets the key manager algorithm, by default is "SunX509".


setTrustManagerAlgorithm

void setTrustManagerAlgorithm(java.lang.String algorithm)
Sets the trust manager algorithm, by default is "SunX509".


setKeyManagerPassword

void setKeyManagerPassword(java.lang.String password)
Sets the password to access the key present in the keystore.

It correspond to the value of the -keypass option of keytool; if not specified, the KeyStore password is taken.


setSSLProtocol

void setSSLProtocol(java.lang.String protocol)
Sets the SSL protocol version, by default is "TLS".



Copyright © 2001-2005 The MX4J Contributors. All Rights Reserved.