org.apache.xmlrpc.secure
Class SecureWebServer
- Runnable, SecurityConstants
public class SecureWebServer
A minimal web server that exclusively handles XML-RPC requests
over a secure channel.
Standard security properties must be set before the SecureWebserver
can be used. The SecurityTool takes care of retrieving these
values, but the parent application must set the necessary
values before anything will work.
$Id: SecureWebServer.java 233919 2005-04-22 10:26:17Z hgomez $
HTTP_11 , STAR , accept , address , clength , conclose , conkeep , ctype , deny , doubleNewline , listener , newline , ok , paranoid , port , runners , server , serverSocket , threadpool , wwwAuthenticate , xmlrpc |
DEFAULT_KEY_MANAGER_TYPE , DEFAULT_KEY_STORE , DEFAULT_KEY_STORE_PASSWORD , DEFAULT_KEY_STORE_TYPE , DEFAULT_PROTOCOL_HANDLER_PACKAGES , DEFAULT_SECURITY_PROTOCOL , DEFAULT_SECURITY_PROVIDER_CLASS , DEFAULT_TRUST_STORE , DEFAULT_TRUST_STORE_PASSWORD , DEFAULT_TRUST_STORE_TYPE , KEY_MANAGER_TYPE , KEY_STORE , KEY_STORE_PASSWORD , KEY_STORE_TYPE , PROTOCOL_HANDLER_PACKAGES , SECURITY_PROTOCOL , SECURITY_PROVIDER_CLASS , TRUST_MANAGER_TYPE , TRUST_STORE , TRUST_STORE_PASSWORD , TRUST_STORE_TYPE |
SecureWebServer(int port) - Creates a secure web server configured to run on the specified
port number.
|
SecureWebServer(int port, InetAddress addr) - Creates a secure web server configured to run on the specified
port number and IP address.
|
SecureWebServer(int port, InetAddress addr, XmlRpcServer xmlrpc) - Creates a secure web server at the specified port number and IP
address.
|
protected ServerSocket | createServerSocket(int port, int backlog, InetAddress add)
|
static void | main(String[] argv) - This can be called from command line, but you'll have to
edit and recompile to change the server port or handler objects.
|
acceptClient , addDefaultHandlers , addHandler , allowConnection , checkSocket , createServerSocket , denyClient , determinePort , getRunner , main , removeHandler , repoolRunner , run , setParanoid , setupServerSocket , shutdown , start , toHTTPBytes |
SecureWebServer
public SecureWebServer(int port)
Creates a secure web server configured to run on the specified
port number.
SecureWebServer
public SecureWebServer(int port,
InetAddress addr)
Creates a secure web server configured to run on the specified
port number and IP address.
addr
- The IP address to bind to.
SecureWebServer
public SecureWebServer(int port,
InetAddress addr,
XmlRpcServer xmlrpc)
Creates a secure web server at the specified port number and IP
address.
createServerSocket
protected ServerSocket createServerSocket(int port,
int backlog,
InetAddress add)
throws Exception
- createServerSocket in interface WebServer
org.apache.xmlrpc.WebServer.createServerSocket(int port, int backlog, InetAddress add)
main
public static void main(String[] argv)
This can be called from command line, but you'll have to
edit and recompile to change the server port or handler objects.
- main in interface WebServer
Copyright B) 1999-2002 Apache Software Foundation. All Rights Reserved.