Proxy Connector (Simple EventHandler)
Overview
The proxy Connector handler is used in conjunction with the ProxyConnector.
This handler provides the server side part for the Metamerge proxy Connector.
The proxy Connector is used to provide access to a Connector to a remote
Metamerge server.
Configuration
The Connector needs the following parameters:
Parameter |
Description |
class |
com.architech.trigger.rstTrigger |
proxyListenPort |
The TCP port on which to accept incoming
connections |
proxySocketFactory |
The socket factory to use for secure
connections (TLS default) |
proxyAuthentication |
Specify "required" if you require
X.509 certificate based authentication on incoming connections. |
keyFile |
The path to the X.509 certificates file |
keyPass |
The password required to access keyFile |
script |
If specified this script must contain a
function onconnect which is called when a connection is
established. In this script you veto or accept the connection. |
Script Objects
When your script executes it has two objects available: socket and x509. The
socket object is the raw java.net.Socket object. Consult the Java
documentation for how to use this object. The X509 object is of type javax.security.cert.X509Certificate
that allows you to inspect the certificate before you accept or veto the
connection.
Downloads
Included in base product
|