Introduction

Welcome to the Security Training Tutorial, Module 1. In this training, we will show how to create DOFCredentials and use those credentials to create a secure DOFConnection and DOFServer.

More About Security

Security is built into DOF Technology, but additional security can be implemented. The Technology focuses on three aspects of security to create its security model: encryption, authentication, and access control.

Encryption. Connections and traffic are encrypted using fully implemented, tested standards (e.g., AES). This is done on the Protocol level.

Authentication. DOF Technology centralizes security information in an Authentication Server (AS), creating a shared trust environment without exposing credentials.

Access Control. You control who has access and what levels of access they have, including resources.

Note: This training does not cover each topic in depth. For example, we discuss the purpose of an AS, but not how to create one. We also refer to encryption, but do not cover its implementation if you want to switch from one standard to another.

For more information, see the DOF Security Programmer's Guide at https://opendof.org/downloads/dof-security-programmers-guide/.

Purpose

The purpose of this training is to instruct system developers on how to use version 7.x of the DOF Object Access Libraries (OALs) to connect DOF nodes in secure domains. This training does not cover advanced security topics such as setting up an Authentication Server (AS) or domain database storage.

Note: The DOF OALs are available in Java, C, and C#; however, this training covers the Java OAL only.

Prerequisites

To get the most out of this training, you should be familiar with DOF connectivity and basic DOF operations. Information on these topics is available in the other training modules.

The DOF Security Model

DOF Technology centralizes security information on a special node called the Authentication Server (AS). Trust is established between peers based on a shared trust of the AS. Peers have access to their own identity and secret, but the "secret" is never shared among peers. The AS is the only node that has access to all the security information for a domain and the permissions that have been granted to each node. Centralizing security information on an AS allows requestors and providers to act as peers in secure communications. This way, requestors and providers can be distributed throughout a network.

Each AS is connected to one or more data repositories, called a “domain storage.” Each repository contains the security information for a single security domain. Although communication can be set up between nodes in different security domains, it may be useful to think of DOF network traffic as being segmented by security domains, which means only nodes in the same domain can communicate. In addition, the operations available to a node within the domain are controlled through permissions.