Setting Permissions on a Connection

Setting permissions on a connection will cause those permissions to be requested when the connection connects. Here we add a DOFPermissionSet to a DOFConnection.Config.

Permissions and Connections

After building DOFPermissionSet, it can be added to either a connection or server configuration.

Associating Credentials with a Connection or a Server

The AS controls the permissions that can be granted to a component because the component’s credentials are associated with the permissions in the domain storage. Therefore, you cannot use a permission set to request permissions that are not already associated with the credentials in the domain storage. Nevertheless, associating credentials with a connection or server can be useful in optimization or in providing greater restrictions.

Optimization

Important! If you do not associate any permissions with the connection or server, then each time an operation that requires a new permission is transmitted, communication will occur with the Authentication Server (AS). However, if the connection or server requests a permission set before sending operations, it will cut down on network traffic associated with granting permissions each time a new operation is initiated.

Greater Restrictions

The DOFPermissionSet can be used to further limit the permissions granted to a component. If you provide a permission set and do not allow the OAL to extend them, the connection or server will have only the specific permissions you specify, regardless of whether the credentials used are associated with additional permissions in the domain storage.

How It Works

"Permission extension" is true by default. When permission extension is set to "false," then the connectivity component is limited.