Skip to main content
Skip table of contents

Add custom class files in Identity Manager

This article is valid for Smart ID 21.04 and later.

This article describes a class patch mechanism for Identity Manager Docker containers. The patched classes need to be placed below the Docker Compose files of your installation, see the steps below.

<SMARTIDHOME>

In this article, <SMARTIDHOME> refers to /home/nexus, but this can be different depending on the setup.

  1. Add your custom class files in <SMARTIDHOME>/docker/compose/identitymanager/<admin|operator|tenant>/classes
    For example, if you want to update just Identity Manager Operator, place the class file(s) below <SMARTIDHOME>/docker/compose/identitymanager/operator/classes 

  2. The class files have to be put in the right folder structure in order to work. This folder structure corresponds to the package path of the class file being added.

    Example:

    1. If the class file CalendarAction.class has to be patched, which has the package name de.vps.act.action.calendar, place the class file in the following path inside the classes folder: de/vps/act/action/calendar/

    2. The full path in this example would then be <SMARTIDHOME>/docker/compose/identitymanager/operator/classes/de/vps/act/action/calendar/CalendarAction.class

  3. After placing the patched classes, restart your Docker container in order to apply the change.
    1. If you are running Identity Manager Docker containers on multiple server nodes, you must apply the change on each of the nodes and restart the containers.


JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.