DOFConnectionConfigBuilderUnsecureStreamaddDomains Method (ICollectionDOFDomainConfig)OpenDOF Object Access Library
Add the collection of static domains, which are used on a connection that supports authentication, to verify that the host being connected to is authorized to process authentication requests in the domains that are specified.

Namespace: org.opendof.core.oal
Assembly: dof-oal (in dof-oal.dll) Version: 7.0.1.2
Syntax

C#
public DOFConnectionConfigBuilderUnsecureStream addDomains(
	ICollection<DOFDomainConfig> domainConfigs
)

Parameters

domainConfigs
Type: System.Collections.GenericICollectionDOFDomainConfig
The domains to be authorized. Must not be null. Must not contain nulls.

Return Value

Type: DOFConnectionConfigBuilderUnsecureStream
The builder.
Remarks

Add the collection of static domains, which are used on a connection that supports authentication, to verify that the host being connected to is authorized to process authentication requests in the domains that are specified.

If these static routes fail to refresh, then the connection closes.

See Also

Reference