|
RMI Proxy 1.2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--com.rmiproxy.Configuration
Holds configuration details for the RMI application firewall.
Configuration details are read from a configuration file, which is a standard Java properties file named rmiproxy.cfg. All hosts involved in the RMI Proxy setup (client, server and all intervening proxies) may have a such a file. It is assumed to exist in the current directory (TODO Fix this?), along with any rmiproxy.policy file (required by proxy hosts only).
Currently two values are configurable:
These values may also be specified via system properties, in which case the system properties over-ride any specifications in rmiproxy.cfg.
| Field Summary | |
static java.lang.String |
ConfigFile
Name of the configuration file. |
| Method Summary | |
static Configuration |
current()
|
abstract java.util.Collection |
getNonProxyHosts()
|
abstract java.lang.String |
getProxyHost()
|
abstract boolean |
isNonProxyHost(java.lang.String host)
|
static void |
refresh()
Refresh the configuration. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final java.lang.String ConfigFile
| Method Detail |
public static Configuration current()
public static void refresh()
public abstract java.lang.String getProxyHost()
When present, it is always the URL of the RMI Proxy which is closer to the Internet than this host.
public abstract java.util.Collection getNonProxyHosts()
RMI requests for these hosts will be forwarded directly and not via the RMI proxy.
public abstract boolean isNonProxyHost(java.lang.String host)
|
www.rmiproxy.com | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||