DOFConnectionaddDomain Method OpenDOF Object Access Library
Dynamically add the credentials, 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 domain that is specified in the credentials.

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

C#
public void addDomain(
	DOFDomainConfig domainConfig
)

Parameters

domainConfig
Type: org.opendof.core.oalDOFDomainConfig
The credentials for the domain to authorize. Must not be null.
Exceptions

ExceptionCondition
DOFSecurityExceptionThrown if validation fails.
Remarks

Dynamically add the credentials, 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 domain that is specified in the credentials.

If this dynamic route fails to refresh, then the route is dropped, but the connection is not closed.

See Also

Reference