mx4j.tools.adaptor.ssl

Interface SSLAdaptorServerSocketFactoryMBean

public interface SSLAdaptorServerSocketFactoryMBean extends AdaptorServerSocketFactory

Management interface for the SSL ServerSocket factory

Version: $Revision: 1.3 $

Method Summary
voidsetKeyManagerAlgorithm(String algorithm)
Sets the key manager algorithm, by default is "SunX509".
voidsetKeyManagerPassword(String password)
Sets the password to access the key present in the keystore.
voidsetKeyStoreName(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.
voidsetKeyStorePassword(String password)
Sets the password to access the keystore specified by SSLAdaptorServerSocketFactoryMBean.
voidsetKeyStoreType(String keyStoreType)
Sets the type of the keystore, by default is "JKS".
voidsetSSLProtocol(String protocol)
Sets the SSL protocol version, by default is "TLS".
voidsetTrustManagerAlgorithm(String algorithm)
Sets the trust manager algorithm, by default is "SunX509".
voidsetTrustStoreName(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.
voidsetTrustStorePassword(String password)
Sets the password to access the truststore specified by SSLAdaptorServerSocketFactoryMBean.
voidsetTrustStoreType(String trustStoreType)
Sets the type of the truststore, by default is "JKS".

Method Detail

setKeyManagerAlgorithm

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

setKeyManagerPassword

public void setKeyManagerPassword(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.

setKeyStoreName

public void setKeyStoreName(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.

setKeyStorePassword

public void setKeyStorePassword(String password)
Sets the password to access the keystore specified by SSLAdaptorServerSocketFactoryMBean.

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

setKeyStoreType

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

setSSLProtocol

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

setTrustManagerAlgorithm

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

setTrustStoreName

public void setTrustStoreName(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.

setTrustStorePassword

public void setTrustStorePassword(String password)
Sets the password to access the truststore specified by SSLAdaptorServerSocketFactoryMBean.

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

setTrustStoreType

public void setTrustStoreType(String trustStoreType)
Sets the type of the truststore, by default is "JKS".
Copyright © 2001-2005 The MX4J Contributors. All Rights Reserved.