Internal catalog
An internal catalog functionality allows to create accounts for external users in a separate database of Axidian CertiFlow. External users are outside an organization and may need access to specific information or features. You can configure an internal catalog in Microsoft SQL or PostgreSQL.
Internal user catalog is auxuliary to the main LDAP catalog.
Configure a database
- Create a database.
- Create a service account.
- Populate the database with a script from the Axidian CertiFlow installation package.
- Microsoft SQL
- PostgreSQL
- Create a database in SQL Server Management Studio:
- In the Object Explorer pane, right-click Databases and select New Database.
- Enter a database name and click OK.
- Use a local SQL service account or an Active Directory service account and grant it the required permissions to manage the database. This service account is used to perform read and write operations in the database.
- In the Object Explorer pane, expand the Security section.
- Right-click the Logins folder and select the service account from the context menu.
- Go to the User Mapping tab and configure the account permissions.
- In the Database role membership for section, select the check boxes next to the db_owner and public permissions.
- Populate the database:
- Go to the File menu and click Open.
- Select File..., specify the catalog path to the UserCatalog.sql file (\AxidianCertiflow.WindowsServer\Misc) and click Open.
- Before running the script, uncomment
--USE[<database name>]--GOand specify the name of the database or select it from the list. - Click Execute.
- Create a database in pgAdmin:
- Open pgAdmin and connect to the server.
- In the Browser section, right-click Databases and select Create → Database....
- On the General tab, specify the database name in the Database field, select the service account from the Owner list, and click Save.
- Create a service account:
- In the Browser section, right-click the Login/Group Roles menu item.
- Select Create → Login/Group Role....
- On the General tab, specify a service account name in the Name field.
- On the Definition tab, specify the password in the Password field. Make sure the Account Expires field has the No Expiry value.
- On the Privileges tab, enable the Can Login? parameter and click Save.
- Populate the database. Select the created database in the Browser section, execute the UserCatalog-Postgre.sql script and grant the service account the required permissions:
- Select Tools → Query Tool.
- Click
and specify the catalog path to the UserCatalog-Postgre.sql file (\AxidianCertiflow.WindowsServer\Misc). Click Select.
- Click Execute/Refresh
.
- Click
and select Clear Query.
- Enter the query text with the service account name:
GRANT ALL PRIVILEGES ON ALL TABLES IN SCHEMA public TO "service account name";- Click Execute/Refresh
.
Configure a remote connection to the database
Open the pg_hba.conf configuration file.
pg_hba.conf file location
Windows OS: C:\Program Files\PostgreSQL<version number>\data
Linux OS: /etc/postgresql/<version number>/main.Add a string in the following format:
CONNECTIONTYPE DATABASE USER ADDRESS METHODCONNECTIONTYPEis the name of the connection type. Specifyhostto use TCP/IP connection.DATABASEis the name of the database.USERis name of the user who accesses the database.ADDRESSis the IP address of the remote Axidian CertiFlow server.METHODis the user authentication method.
host AxidianStorage servicepg 192.200.1.0/24 md5
Supported user attributes
Axidian CertiFlow connects to an internal user catalog using the following attributes.
Basic attributes
| User attribute | Common name |
|---|---|
| cn | Common Name |
| dn | Distinguished Name |
| givenName | First Name |
| sn | Last Name |
| sAMAccountName | Logon Name |
Additional attributes
| User attribute | Display name |
|---|---|
| telephoneNumber | Phone number |
| countryName | Country/region |
| stateOrProvinceName | State |
| localityName | City |
| streetAddress | Address |
| organizationName | Organization |
| organizationUnitName | Department |
| title | Position |
You can edit additional attributes and add custom attributes In the Axidian CertiFlow Configuration Wizard.
How to configure additional attributes in an internal user catalog
After you create an internal catalog, configure a connection to the created database in the Axidian CertiFlow Configuration Wizard in the User Catalog section.