Setting DOFCredentials on DOFConnection.Config

To allow the DOFConnection to send a secure operation, it must have the credentials set. Furthermore, for a connection to connect to a secure DOFServer, the credentials on the connection and server must be in the same domain. Here we set up DOFCredentials on DOFConnection.Config using the supplied credentials file.

How It Works

For a DOFConnection to be secure, the DOFConnection.Config that it was created from must have the DOFCredentials set. These DOFCredentials are created with the DOFConnection.Config.Builder using the setCredentials method.