Versions Compared
Key
- This line was added.
- This line was removed.
- Formatting was changed.
This article describes how to migrate from SmartACT to Smart ID Identity Manager (PRIME).
Prerequisites
Expand | ||
---|---|---|
| ||
This is a summary of what must be in place before the migration starts. More information is found in the article.
|
Step-by-step instruction
Preparation
Expand | ||
---|---|---|
| ||
|
Expand | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||
|
Expand | |||||
---|---|---|---|---|---|
| |||||
|
Configure migration - general
The configuration is done in the migrate_general.properties file, which is structured as follows.
Expand | |||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||||||||
|
Configure migration - persons
The configuration is done in the migrate_persons.properties file, which is structured as follows.
Expand | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||
These are examples of person statuses:
|
Expand | ||||
---|---|---|---|---|
| ||||
|
Expand | ||||
---|---|---|---|---|
| ||||
Every person from SmartACT is assigned the role
|
Expand | |||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||||||||||||||||||||||||||||||
The mapping of the data fields between PRIME Identity Manager and SmartACT is configured in the file spring\migrate-persons-batch_jobs-beans.xml. The assignment must be adjusted according to the use of the data fields in the following area:
The mapping of the persons is preset as follows:
|
Expand | ||
---|---|---|
| ||
For this, the |
Anchor | ||||
---|---|---|---|---|
|
Expand | |||||||||
---|---|---|---|---|---|---|---|---|---|
| |||||||||
|
Configure migration - cards
The configuration is done in the migrate_cards.properties file, which is structured as follows.
Expand | ||||
---|---|---|---|---|
| ||||
|
Expand | ||||
---|---|---|---|---|
| ||||
|
Expand | |||||
---|---|---|---|---|---|
| |||||
|
Expand | ||||
---|---|---|---|---|
| ||||
|
Expand | |||||||
---|---|---|---|---|---|---|---|
| |||||||
|
Expand | ||
---|---|---|
| ||
|
Expand | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Mapping of card fields between PRIME between Identity Manager and SmartACT is configured in the spring\migrate-cards-batch_jobs-beans.xml file. The assignment must be adjusted according to the use of the data fields in the following area:
The mapping of the cards is preset as follows:
|
Expand | ||
---|---|---|
| ||
The field |
Expand | |||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||||||||||||||||||||||||||||||||||||||
|
Expand | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||
|
Expand | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||
The following relation is defined especially for the card (see also Relation between the objects)
|
Configure migration - certificates
The configuration is done in the migrate_certificates.properties file, which is structured as follows.
Expand | ||
---|---|---|
| ||
|
Expand | ||||
---|---|---|---|---|
| ||||
|
Expand | ||||
---|---|---|---|---|
| ||||
If a card is permanently replaced in SmartACT, the new certificate entry points to the preceding certificate. When migrating certificates, only the "origin certificates" are adopted. This is easy to determine by keeping track of the certificate reference until you find a certificate without predecessor. |
Expand | |||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||
The mapping of card data fields between PRIME between Identity Manager and SmartACT is configured in the file spring\migrate-certificates-batch_jobs-beans.xml. The assignment must be adjusted according to the use of the data fields in the following area:
The mapping of the certificates is preset as follows:
|
Expand | ||
---|---|---|
| ||
The field |
Expand | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||
|
Expand | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||
Specifically for the certificate, the following relation is defined (see also Relation between the objects)
|
Start migration
To start the migration:
- run the batch file start_migration.bat on Windows
or - run the shell script start_migration.sh on Linux/Unix.
Note |
---|
Under Unix/Linux, give the shell scripts the correct rights using |
Expand | |||||||
---|---|---|---|---|---|---|---|
| |||||||
During the migration, log files are created in the subdirectory logs/
If necessary, you can customize the path of the log messages by opening the log4j.xml file and specifying the file (Attribute File) and maximum index (attribute
|
Expand | ||
---|---|---|
| ||
The term client refers to the master data template from SmartACT (table T_MASTERDATATEMPLATE), which is used as the data source of the migration. All tenants are created with their own IDs, the initially existing tenant with ID 1 remains. The clients are stored in PRIME in Identity Manager in the table Tenant. |
Expand | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||
When mapping the person, type conversion rules can be specified for the fields in PRIME in Identity Manager (see Type conversion for the person). A conversion rule is defined as follows:
|
Anchor | ||||
---|---|---|---|---|
|
Expand | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||
When saving, the corresponding record (object) can be linked to one or more objects, for example:
The desired relations are set using the attribute dataPoolRelations, which refers to a list consisting of one or more relations of type DataPoolRelation. Person should be related to card and card should be related to certificate.
|