org.opennms.netmgt.provision.server
Class SSLServer

java.lang.Object
  extended by org.opennms.netmgt.provision.server.exchange.SimpleConversationEndPoint
      extended by org.opennms.netmgt.provision.server.SimpleServer
          extended by org.opennms.netmgt.provision.server.SSLServer

public class SSLServer
extends SimpleServer


Nested Class Summary
 
Nested classes/interfaces inherited from class org.opennms.netmgt.provision.server.SimpleServer
SimpleServer.ServerErrorExchange
 
Nested classes/interfaces inherited from class org.opennms.netmgt.provision.server.exchange.SimpleConversationEndPoint
SimpleConversationEndPoint.SimpleExchange
 
Field Summary
static String DEFAULT_KEY_MANAGER_ALGORITHM
           
static String DEFAULT_KEY_MANAGER_PROVIDER
           
static String DEFAULT_PASSWORD
           
static String DEFAULT_PATH_TO_KEY_STORE
           
static String DEFAULT_SSL_CONTEXT_PROTOCOL
           
static int DEFAULT_TESTING_PORT
           
 
Fields inherited from class org.opennms.netmgt.provision.server.exchange.SimpleConversationEndPoint
m_conversation
 
Constructor Summary
SSLServer()
           
 
Method Summary
 String getKeyManagerAlgorithm()
           
 String getKeyManagerProvider()
           
 String getPassword()
           
 String getPathToKeyStore()
           
 int getPort()
           
protected  Runnable getRunnable()
           
 String getSslContextProtocol()
           
 void init()
           
 void setKeyManagerAlgorithm(String keyManagerAlgorithm)
           
 void setKeyManagerProvider(String keyManagerProvider)
           
 void setPassword(String password)
           
 void setPathToKeyStore(String pathToKeyStore)
           
 void setPort(int port)
           
 void setSslContextProtocol(String sslContextProtocol)
           
 
Methods inherited from class org.opennms.netmgt.provision.server.SimpleServer
addErrorHandler, attemptConversation, dispose, errorString, getBanner, getInetAddress, getLocalPort, getServerSocket, getServerThread, getSocket, getThreadSleepLength, onInit, sendBanner, setBanner, setServerSocket, setServerThread, setSocket, setThreadSleepLength, shutdownServer, startServer, stopServer
 
Methods inherited from class org.opennms.netmgt.provision.server.exchange.SimpleConversationEndPoint
addResponseHandler, contains, getTimeout, matches, multilineLineRequest, setTimeout, singleLineRequest, startsWith
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_TESTING_PORT

public static final int DEFAULT_TESTING_PORT
See Also:
Constant Field Values

DEFAULT_PASSWORD

public static final String DEFAULT_PASSWORD
See Also:
Constant Field Values

DEFAULT_PATH_TO_KEY_STORE

public static final String DEFAULT_PATH_TO_KEY_STORE
See Also:
Constant Field Values

DEFAULT_KEY_MANAGER_ALGORITHM

public static final String DEFAULT_KEY_MANAGER_ALGORITHM
See Also:
Constant Field Values

DEFAULT_KEY_MANAGER_PROVIDER

public static final String DEFAULT_KEY_MANAGER_PROVIDER
See Also:
Constant Field Values

DEFAULT_SSL_CONTEXT_PROTOCOL

public static final String DEFAULT_SSL_CONTEXT_PROTOCOL
See Also:
Constant Field Values
Constructor Detail

SSLServer

public SSLServer()
Method Detail

init

public void init()
          throws Exception
Overrides:
init in class SimpleServer
Throws:
Exception

getRunnable

protected Runnable getRunnable()
                        throws Exception
Overrides:
getRunnable in class SimpleServer
Throws:
Exception

setPort

public void setPort(int port)

getPort

public int getPort()

setPassword

public void setPassword(String password)

getPassword

public String getPassword()

setPathToKeyStore

public void setPathToKeyStore(String pathToKeyStore)

getPathToKeyStore

public String getPathToKeyStore()

setKeyManagerAlgorithm

public void setKeyManagerAlgorithm(String keyManagerAlgorithm)

getKeyManagerAlgorithm

public String getKeyManagerAlgorithm()

setKeyManagerProvider

public void setKeyManagerProvider(String keyManagerProvider)

getKeyManagerProvider

public String getKeyManagerProvider()

setSslContextProtocol

public void setSslContextProtocol(String sslContextProtocol)

getSslContextProtocol

public String getSslContextProtocol()


Copyright © 2009. All Rights Reserved.