}
}
}
public void log(final int logLevel, final String msg,
final Throwable throwable) {
if (logLevel != PortForwarderConstants.LOG_LEVEL_DEBUG_VERBOSE) {
String messageString = createMessage(msg);
if (portForwarderGui == null) {
System.err.println("WARNING: Could not write to info area!");
System.err.println(messageString);
if (throwable != null) {
System.out.println(throwable.getMessage());
throwable.printStackTrace();
}
} else {
portForwarderGui.appendInfo(message
System.getProperty("line.separator"));
if (throwable != null) {
portForwarderGui.appendInfo(throwable.getMessage() +
System.getProperty("line.separator"));
throwable.printStackTrace();
}
}
}
}
}
Connecting Through a Proxy
If the port forwarder is connecting through a proxy a number of properties need to be set for
the port forwarder to know where and how to connect to the proxy.
The parameters are:
com.avaya.avg.portforwarder.http.proxyHost
The proxy host for HTTP & HTTPS
accesses.
com.avaya.avg.portforwarder.http.proxyPort
The proxy port for HTTP & HTTPS
accesses.
com.avaya.avg.portforwarder.http.proxyUserName
The proxy username for HTTP &
HTTPS accesses.
com.avaya.avg.portforwarder.http.proxyPassword
The proxy password for HTTP &
HTTPS accesses.
If the username and/or password is not set, the Port Forwarder API will call the
PortForwarderAuthenticator.getProxyCredentials()
function to obtain them.
Using the Port Forwarder API
262 User Guide
April 2013
Comments? infodev@avaya.com
Summary of Contents for 3050-VM
Page 1: ...User Guide Avaya VPN Gateway Release 9 0 NN46120 104 Issue 04 04 April 2013 ...
Page 4: ...4 User Guide April 2013 Comments infodev avaya com ...
Page 12: ...12 User Guide April 2013 ...
Page 20: ...New in this release 20 User Guide April 2013 Comments infodev avaya com ...
Page 30: ...Introducing the VPN Gateway 30 User Guide April 2013 Comments infodev avaya com ...
Page 36: ...Introducing the ASA 310 FIPS 36 User Guide April 2013 Comments infodev avaya com ...
Page 74: ...Upgrading the AVG Software 74 User Guide April 2013 Comments infodev avaya com ...
Page 86: ...Managing Users and Groups 86 User Guide April 2013 Comments infodev avaya com ...
Page 130: ...The Command Line Interface 130 User Guide April 2013 Comments infodev avaya com ...
Page 162: ...Supported Ciphers 162 User Guide April 2013 Comments infodev avaya com ...
Page 212: ...Syslog Messages 212 User Guide April 2013 Comments infodev avaya com ...
Page 242: ...Definition of Key Codes 242 User Guide April 2013 Comments infodev avaya com ...
Page 259: ...Creating a Port Forwarder Authenticator User Guide April 2013 259 ...
Page 266: ...Using the Port Forwarder API 266 User Guide April 2013 Comments infodev avaya com ...
Page 274: ...X 509 274 User Guide April 2013 Comments infodev avaya com ...