Examples in the proxy directory

The following table lists the files in the proxy directory. A README file in the directory contains setup information.

Demo program name Description
ProxySelect.java (application) Creates a sample database and connects to it using four scenarios:
  • Connection with a proxy server and no LDAP server
  • Connection with an LDAP server and no proxy server
  • Connection using an sqlhosts file
  • Direct connection (no proxy servlet, sqlhosts file, or LDAP server)
proxy.sh (shell script) Launches ProxySelect.java. To run the script (and the demo), type:
proxy.sh -d ProxySelect -s 2
proxy.java (applet) Performs the same operations as ProxySelect.java from an applet. To run the applet, type:
appletviewer proxy.html
proxy.html HTML file for proxy.java
ifmx.conf Sample LDAP configuration file
ifmx.ldif Sample LDAP ldif file