Skip to content

Architecture

JIM is built around the Metaverse pattern: a hub-and-spoke architecture where all identity data flows through a central authoritative repository. This page describes the pattern, the system components, and the layered software architecture.

The Metaverse Pattern

At the heart of JIM is the Metaverse: a centralised repository of identity objects. Rather than synchronising data directly between Connected Systems, every change flows through the Metaverse. This provides:

  • Single source of truth
    One authoritative record for each identity, assembled from multiple sources.
  • Centralised governance
    All data transformations, scoping decisions, and lifecycle rules are applied in one place.
  • Decoupled systems
    Connected Systems do not need to know about each other; they only interact with the Metaverse.
  • Auditability
    Every change is tracked as it passes through the hub.

The metaverse pattern Source systems on the left import identity data into the Metaverse, the single source of truth at the centre. Target systems on the right receive exports from it. Data always flows through the Metaverse; it never moves directly between systems. Source Systems HR · directories · files Metaverse single source of truth Target Systems directories · applications import export

Sources project identities into the Metaverse; targets receive them from it. The same Connected System can be both source and target (writeback). Moving dots trace import and export flows.

Key principle: All identity data flows through the Metaverse. JIM never synchronises directly between Connected Systems.

Identities and the Metaverse

The Metaverse holds one Metaverse Object for each real-world thing JIM manages: a person's identity, a group, a role. Each is the canonical, aggregated version, assembled from the Connected System Objects that contribute values to it under Attribute Priority.

Connected Systems hold instances of it: an account in a directory, a row in an HR system, a mail-enabled group. JIM's job is to keep every instance consistent with the canonical object, creating, updating and removing instances as the object changes. This is why the product names the two sides Metaverse Object and Connected System Object throughout: "identity" describes what the Metaverse is for, and the objects are what JIM actually manages.

System Context

The following diagram shows JIM in the context of the systems and users it interacts with:

JIM System Context Administrators manage JIM through the web UI and PowerShell, and automation clients call its REST API. An Identity Provider authenticates sign-in over OIDC, and can push Users and Groups to JIM over SCIM 2.0. JIM synchronises with Directory Services over LDAP and LDAPS, and on Active Directory makes on-premises Exchange recipients through Exchange's remote PowerShell; it imports from HR systems via CSV, reads and writes file systems, reads and writes enterprise databases over SQL, and synchronises with cloud applications over SCIM 2.0. Administrator configures & operates >_ Automation Client CI/CD · API keys Identity Provider sign-in · SCIM provisioning JIM Junctional Identity Manager self-hosted identity synchronisation Directory Services AD · Exchange · LDAP HR Systems authoritative source File Systems CSV & flat files Enterprise Databases SQL Server · Oracle Cloud Applications SCIM 2.0 web UI · PowerShell REST API OIDC · SCIM 2.0 LDAP/LDAPS imports · CSV reads & writes SQL SCIM 2.0

Administrators and automation clients work through JIM's UI and API; JIM synchronises with the surrounding systems. Moving dots trace identity data in flight.

Containers

JIM is deployed as a set of containers, on Docker or Podman, each with a distinct responsibility:

JIM Containers JIM deploys as a set of containers. Administrators use the Web Application's portal, or the PowerShell Module which wraps the REST API; automation clients call the REST API directly; an Identity Provider authenticates sign-in over OIDC, and can push Users and Groups over SCIM 2.0 to the Web Application's SCIM endpoint, which keeps them in PostgreSQL for the Worker Service to import on a Schedule. The Web Application, Scheduler Service and Worker Service all use the PostgreSQL database, which also acts as the task queue: the Scheduler queues tasks and the Worker polls them. The Worker Service runs the synchronisation pipeline, delivers queued passwords and Exchange recipient changes, and hosts the Connectors, connecting to Directory Services, HR systems, file systems, enterprise databases and cloud applications. Administrator web UI & PowerShell >_ Automation Client REST API · API keys Identity Provider sign-in · SCIM provisioning PowerShell Module automation via the REST API Web Application admin UI · REST API · SCIM Scheduler Service cron & interval triggers Worker Service runs the sync pipeline delivers passwords · Exchange hosts the Connectors PostgreSQL configuration & identity data Directory Services LDAP · LDAPS · Exchange HR Systems CSV File Systems CSV & flat files Enterprise Databases SQL Server · Oracle Cloud Applications SCIM 2.0 web UI REST API OIDC · SCIM 2.0 REST API reads & writes queues tasks task queue JIM

JIM's deployable containers. PostgreSQL doubles as the task queue: the Scheduler queues work and the Worker polls it, so the services coordinate through the database rather than calling each other. Moving dots trace identity data in flight.

Web Application

The web application (jim.web) provides both the administrative user interface, the portal, and the REST API (at /api/). Administrators use the UI to configure Connected Systems, define Synchronisation Rules, monitor operations, and browse identity data. The API enables automation and integration with external tools. It also serves the SCIM endpoint (at /scim/) that identity providers push Users and Groups to, for each Connected System using the JIM SCIM 2.0 Service Provider Connector. JIM keeps what they push, and the Worker imports it on the Connected System's Schedule.

Worker Service

The Worker Service (jim.worker) is the background processor that executes all identity operations: imports, synchronisation, and exports. When an operation is triggered (manually, via the API, or by the scheduler), the Worker picks it up and processes it asynchronously. It handles batch processing, error reporting, and activity logging. The Worker also hosts the Password Delivery Service, which delivers queued password changes to Connected Systems on its own clock, and the Exchange delivery service, which makes the on-premises Exchange recipients an export declares; it writes a heartbeat that the portal's Service Health panel reads.

Inside the Worker Service The Worker Host polls the PostgreSQL task queue and dispatches processors for import, synchronisation and export, and its memory guard stops the running work before the Worker runs out of memory, recording why on the Activity; the service reads and writes staged and Metaverse data in the same database. Import processors stage data arriving through the Connectors; synchronisation processors use the Sync Engine to apply projection, attribute flow, and deletion and matching rules; the export processor sends outbound changes back through the Connectors to Connected Systems. Alongside the Worker Host, the Password and Exchange Delivery Services run as separate loops in the same process, each woken by changes to its queue rather than dispatched as a task: one delivers initial and synchronised passwords, the other makes on-premises Exchange recipients, both through the Connectors. The Connectors layer hosts the LDAP, File/CSV, SQL, SCIM 2.0 Client and SCIM 2.0 Service Provider connectors; the SCIM 2.0 Service Provider Connector imports what identity providers have pushed to JIM's SCIM endpoint, kept in the same database, rather than reaching out to a system. PostgreSQL task queue staged & metaverse data Worker Service Worker Host polls the task queue · dispatches processors · memory guard Import full & delta imports Synchronise full & delta synchronisation Export pending export execution Sync Engine projection · attribute flow deletion & matching rules Delivery Services own loops · not tasks passwords · Exchange Connectors LDAP File / CSV SQL SCIM 2.0 Client SCIM 2.0 Service Provider Connected Systems dispatches uses staged imports outbound changes polls task queue

Inside the Worker Service: the host dispatches import, synchronise and export processors, and the Sync Engine makes the synchronisation decisions. The host polls the task queue in PostgreSQL, where the whole service reads and writes staged and Metaverse data; the Connectors carry data to and from Connected Systems. Moving dots trace data arriving through, and leaving via, the Connectors.

Scheduler Service

The Scheduler Service (jim.scheduler) is a lightweight scheduling service that triggers operations on a cron or interval basis. Schedules can include multiple steps (e.g., import from HR, synchronise, export to Active Directory) that execute in sequence. The Scheduler submits work to the Worker for processing.

JIM.PowerShell

A PowerShell module for automation and scripting. It wraps the REST API and provides cmdlets for querying, configuring, and executing operations. Supports both interactive (browser-based SSO) and non-interactive (API key) authentication.

PostgreSQL Database

JIM uses PostgreSQL as its sole data store. The database holds all configuration, identity data (Metaverse Objects, Connected System Objects), Synchronisation Rules, activity history, and credentials (encrypted at rest with AES-256-GCM).

Real-Time Coordination

The services never call each other directly; they coordinate through the database. As well as acting as the task queue, the database tells the services when something has changed: triggers on the Worker Task and Activity tables publish PostgreSQL NOTIFY events on commit, which each service receives over a dedicated LISTEN connection.

This is what makes JIM feel live rather than polled:

  • The Scheduler advances a Schedule to its next step as soon as the current step's tasks finish, instead of waiting up to 30 seconds for its next polling cycle.
  • The web application pushes the same events to the browser, so the Operations page and a running Activity's progress update as work happens.

Polling remains as the safety net throughout. If the notification channel is unavailable, every affected surface falls back to polling automatically and nothing stops working; notifications are treated as hints that something is worth re-reading, never as the source of truth.

A SignalR hub at /hubs/notifications broadcasts the same events to your own dashboards and tooling.

Layered Architecture

Inside each service, JIM is layered, and no layer bypasses the one below it. The portal and the REST API call the application layer for every operation, never the database; the application layer works on JIM's domain model; and only the data layer reads and writes PostgreSQL. Connectors sit beside the data layer, and are the only code that talks to your systems.

JIM's layered architecture A vertical stack of five layers. Presentation (the portal and the REST API) depends on Application (JIM's operations and business rules), which depends on Domain (JIM's domain model), which depends on Data (the only layer that reads and writes PostgreSQL). Integration (the Connectors, which talk to your systems) sits at the base alongside the Data layer. Presentation Portal and REST API Application Operations and business rules Domain JIM's domain model Data Reads and writes PostgreSQL Integration Connectors to your systems

Arrows show dependencies: each layer depends only on the layer directly beneath it. The Integration layer's Connectors sit at the base of the stack alongside data access.

Deployment

JIM is deployed as containers, on Docker or Podman, and is designed to work in air-gapped environments with no internet connectivity. There are no cloud service dependencies; all features work with on-premises infrastructure only.

A typical deployment consists of:

  • Web Application container, jim.web (portal and API)
  • Worker Service container, jim.worker (background processing)
  • Scheduler Service container, jim.scheduler (scheduled operations)
  • PostgreSQL container (database)
  • An OIDC identity provider for authentication (e.g., Keycloak, or any OIDC-compliant provider)