public interface Host
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:
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
| Modifier and Type | Method and Description |
|---|---|
String |
getCaldavCredentials() |
String |
getCaldavPrincipal() |
String |
getCaldavUrl() |
List<String> |
getDkimPublicKeys()
List of dkim public keys in form selector=key
|
String |
getFbUrl() |
String |
getHostname() |
String |
getIScheduleCredentials() |
String |
getISchedulePrincipal() |
String |
getIScheduleUrl() |
boolean |
getIScheduleUsePublicKey()
True if we delivered our public key for use for dkim
|
boolean |
getLocalService() |
int |
getPort() |
boolean |
getSecure() |
boolean |
getSupportsBedework() |
boolean |
getSupportsCaldav() |
boolean |
getSupportsFreebusy() |
boolean |
getSupportsISchedule() |
String getHostname()
int getPort()
boolean getSecure()
boolean getLocalService()
String getCaldavUrl()
String getCaldavPrincipal()
String getCaldavCredentials()
String getIScheduleUrl()
String getISchedulePrincipal()
String getIScheduleCredentials()
List<String> getDkimPublicKeys()
boolean getIScheduleUsePublicKey()
String getFbUrl()
boolean getSupportsBedework()
boolean getSupportsCaldav()
boolean getSupportsISchedule()
boolean getSupportsFreebusy()
Copyright © 2018 Bedework. All rights reserved.