Interface Host


  • public interface Host
    This class provides information about a host. This should eventually come from some form of dns-like lookup based on the CUA.

    Currently we are adding dynamic look-up and DKIM security to the model. Even with that in place there will be a need for hard-wired connections, with and without DKIM.

    To increase security we should use some form of authentication. However, if we use servlet authentication we need to create accounts to authenticate against. Those accounts need to be given to administrators at other sites which is probably unacceptable. On the other hand we can run it through the unauthenticated service and check the id/pw ourselves.

    The information here can be used for outgoing or can provide us with information to handle incoming requests. For incoming we need to resolve the host name and we then search for an entry prefixed with *IN*. We'll need to progressively shorten the name by removing leading elements until we get a match or there's nothing left. For example, if we get an incoming request for cal.example.org we check:

    1. *IN*cal.example.org
    2. *IN*example.org
    3. *IN*org
    4. *IN*

The last entry, if it exists, provides a default behavior. If absent we disallow all unidentified incoming requests. If present they must satisfy the requirements specified, e.g. DKIM

Author:
Mike Douglass douglm - rpi.edu