This class creates server configurations.
Inheritance Hierarchy
org.opendof.core.oalDOFServerConfigBuilder
Namespace: org.opendof.core.oal
Assembly: dof-oal (in dof-oal.dll) Version: 7.0.1.2
Syntax
C#
public sealed class Builder
The DOFServerConfigBuilder type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| DOFServerConfigBuilder(DOFServerConfig) | Construct a builder based on an existing configuration. | |
| DOFServerConfigBuilder(DOFServerState) | Construct a builder based on an existing configuration. | |
| DOFServerConfigBuilder(DOFServerType, DOFAddress) | Create a simple, unsecure server on the target address. |
Methods
| Name | Description | |
|---|---|---|
| addCredentials(DOFCredentials) | Add variable number of credentials to the server. | |
| addCredentials(ICollectionDOFCredentials) | Add credentials to the server. | |
| addDomain |
Add a domain, which is used
to verify that the host being connected from is authorized to process authentication requests in
the domain that is specified.
| |
| addDomains(DOFDomainConfig) |
Add the domains, which are used to verify that the host
being connected from is authorized to process authentication requests in the domains specified.
| |
| addDomains(ICollectionDOFDomainConfig) |
Add the collection of domains, which are used
to verify that the host being connected from is authorized to process authentication requests in
the domains that are specified.
| |
| addTrustedDomains(DOFObjectIDDomain) | Add in a configured TRP route without credentials. | |
| addTrustedDomains(ICollectionDOFObjectIDDomain) | Add in a configured TRP route without credentials. | |
| build | Build a configuration based on the current state of the builder. | |
| Equals | (Inherited from Object.) | |
| GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| setAddress | Set this server's listening address. | |
| setAuditorListener | Set this server's audit listener. | |
| setBridge | Set the bridge of the server. | |
| setConnectionLimit | Set the maximum number of inbound connections that the server can support.
| |
| setCredentialAssigner |
Set this server's credential assigner, which overrides any credentials
set with
addCredentials(DOFCredentials[])
, and allows the
application to use different credentials for incoming requests based
on the domain of the requestor.
| |
| setDomainDiscoveryCredentials | Set the credentials used for remote domain discovery. | |
| setMaxReceiveSilence | Set this server's max receive silence. | |
| setMaxSendSilence | Set this server's max send silence. | |
| setName | Set this server's name used for logging purposes. | |
| setPermissions | Set the initial permissions for a domain. | |
| setProtocolNegotiator | Set this server's protocol negotiator. | |
| setReceiveFilter | Set the receive filter of the server. | |
| setSecurityDesire | Set this server's security desire. | |
| setSendFilter | Set the send filter of the server. | |
| setServerType | Set this server's type. | |
| setTransportConfig | Set this server's transport configuration. | |
| setTunnelDomains | Set whether or not connections to this server are allowed to tunnel remote domains.
| |
| setWildcardCredentials |
Set the credentials for a connection in any domain not specifically set using
addCredentials(DOFCredentials[])
.
| |
| setWildcardPermissions | Set the permissions for the wildcard credential. | |
| ToString | Returns a string that represents the current object. (Inherited from Object.) |
Remarks
See Also