Skip to main content

The most recent patch for this version is 1.1.4.  Learn more  

Version: 1.1

Optional deployment configuration

There are configuration properties that are not included in the sample deployment configuration that may be relevant for some users to add. These are described in this section.

Importing domains at startup

Authorization Domain Manager provides a facility to import domains at startup when running ADM from the command line.

  1. Open the deployment configuration file in a text editor.

  2. Add the property import:

  3. Add the parameters namespace: and sourcePath:

import:
namespace: <namespace>
sourcePath: <path_to_domain_files>

Both parameters are required. If a value is invalid or missing, ADM will not start.

  • namespace: A valid String denoting the namespace for the domain. The value cannot be empty or null.
  • sourcePath: A valid file reference pointing to the directory containing the domain files to be imported.

The files in the directory must be Authorization Domain document format version 2 YAML files, one domain per file. The file name (minus the ".yaml" extension) becomes the domain name.

note

The import command imports all the files in the source directory into the same namespace.

Use the import command at startup to execute the importing of the domains:

java -cp authorization-domain-manager-1.1.4.jar:JDBC.jar com.axiomatics.domainmanager.App import <path_to_file>/deployment.yaml
Important

Replace the version placeholders with the most recent available distribution.