Distributed module

Distributed Authentication and Content API support

Overview
The distributed module implements the Zeus Distributed Authentication and Content API. The ZDAC API allows the web server to interact with external authentication servers and content generation servers over a TCP/IP socket interface. The Distributed module also implements support for Java Servlets.

Reference

Configuration
Authentication API Configuration is only available via the registry editor in this preview release.

Registry Configurables:

|- distributed-| |- authd -| | |- urls -| | |- /sales -| | | |- server server2.fred.com:1234 | | |- realm Enter sales password | | | |- /develop -| | |- server 131.111.131.81:6666 | |- realm Development security

CONTENT API

Like each ZDAC component, the Content Generation API is based on TCP sockets. A content server, which runs on either the local or remote machine, is accessed by the machine name and a port number. The machine name and port number are identified with a service name, which is used to distinguish ZDAC from each other. Finally the service prefix is used to identify all ZDAC Content servers for the virtual server. The full URL for the ZDAC Content server is constructed by appending the the service name to the service prefix as shown :
http://hostname:port/prefix/identifier
Which can of course be access locally as just :
/prefix/indentifier
By accessing ZDAC Content servers in this way, the physical location of the server is never revealed by Application Server to the public, increasing security and making your HTML links tidier.

Click the "Add" button to install additional ZDAC Content services, to delete an entry, click on the "delete" button and to change the server prefix click the "Update" button.

In summary :

Service name : Unique server identifier, used to construct service URL.
Content server : Machine name and port number of the Content server.
Service prefix : ZDAC Content service prefix, used to identify all Content servers.

The full URL is http://machine-name:port/service-prefix/service-name which can of course be referenced locally as simply service-prefix/service-name.

Java Servlet support
Java Servlets are implemented as a special ZDAC Content server. Servlets are run in their own Zeus Servlet Server process, which may reside on either the local machine or a remote machine. Servlet Server is a multi-threaded process which will load each Java class file as needed.

See the associated documentation on how to install the Zeus Servlet Server.

Java Servlets are configured in the same manor as the ZDAC Content servers, however, as the Servlet class file name is passed to the Servlet Server in the URL, no service name is required.

The Service prefix is used to map Java Servlets into the document tree. The Servlet Server is the machine name and port number of the Servlet Server, these values will be read by the Servlet Server from the Zeus Registry when it starts. Click the "Update" button to commit the changes.