org.apache.geronimo.jmxremoting
Class JMXSecureConnector
java.lang.Object
org.apache.geronimo.jmxremoting.JMXConnector
org.apache.geronimo.jmxremoting.JMXSecureConnector
- All Implemented Interfaces:
- GBeanLifecycle, JMXConnectorInfo
public class JMXSecureConnector
- extends JMXConnector
A secure (SSL/TLS) connector that supports the server side of JSR 160 JMX Remoting.
Methods inherited from class org.apache.geronimo.jmxremoting.JMXConnector |
doFail, doStop, getApplicationConfigName, getHost, getListenAddress, getPort, getProtocol, getUrlPath, setApplicationConfigName, setHost, setPort, setProtocol, setUrlPath |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GBEAN_INFO
public static final GBeanInfo GBEAN_INFO
JMXSecureConnector
public JMXSecureConnector(MBeanServerReference mbeanServerReference,
String objectName,
ClassLoader classLoader)
JMXSecureConnector
public JMXSecureConnector(MBeanServer mbeanServer,
String objectName,
ClassLoader classLoader)
setKeystoreManager
public void setKeystoreManager(KeystoreManager keystoreManager)
getKeystoreManager
public KeystoreManager getKeystoreManager()
getKeyStore
public String getKeyStore()
setKeyStore
public void setKeyStore(String keyStore)
getTrustStore
public String getTrustStore()
setTrustStore
public void setTrustStore(String trustStore)
getKeyAlias
public String getKeyAlias()
setKeyAlias
public void setKeyAlias(String keyAlias)
getAlgorithm
public String getAlgorithm()
setAlgorithm
public void setAlgorithm(String algorithm)
- Algorithm to use.
As different JVMs have different implementations available, the default algorithm can be used by supplying the value "Default".
- Parameters:
algorithm
- the algorithm to use, or "Default" to use the default from KeyManagerFactory.getDefaultAlgorithm()
getSecureProtocol
public String getSecureProtocol()
setSecureProtocol
public void setSecureProtocol(String secureProtocol)
setClientAuth
public void setClientAuth(boolean clientAuth)
isClientAuth
public boolean isClientAuth()
doStart
public void doStart()
throws Exception
- Description copied from interface:
GBeanLifecycle
- Starts the GBean. This informs the GBean that it is about to transition to the running state.
- Specified by:
doStart
in interface GBeanLifecycle
- Overrides:
doStart
in class JMXConnector
- Throws:
Exception
- if the target failed to start; this will cause a transition to the failed state
getGBeanInfo
public static GBeanInfo getGBeanInfo()
Copyright © 2003-2008 The Apache Geronimo development community. All Rights Reserved.