Synchronously Creating a Secure DOFSystem

If you need to synchronously create a secure DOFSystem, you can do it by passing a timeout to the dof.createSystem method.

Authorization

Before a DOFSystem can send or receive an operation, it must be authorized.

How It Works

When creating a secure DOFSystem, it is important to first ensure that the DOF has a compatible route to the Authentication Server (AS); otherwise, the system will not be able to authenticate and creation will fail.

You can specify a timeout when you create a DOFSystem. This will cause the DOF.createSystem call to block until the DOFCredentials on the DOFSystem.Config are verified by the AS.

If the credentials fail to resolve or a path to the AS cannot be found, a DOFException will be thrown.