When a custom midPoint connector is the right path
A custom connector is the right path only after the catalog has been checked and ruled out. Suppose a target system keeps its user accounts in an in-house application with no matching connector in the Evolveum catalog, and you need midPoint to create, update and disable those accounts. midPoint reaches target systems through the ConnId connector framework, and a custom connector is simply a ConnId connector that you write, package and load into midPoint. Before any build starts, review the Evolveum identity connectors list for the system itself, for a generic option such as LDAP, CSV, DatabaseTable or ScriptedSQL that already fits its interface, and for the support status of each candidate. A generic connector configured with your own queries or scripts may cover the need without any new code.
Your licensing position is clear, but your support position is not. Evolveum publishes midPoint under open source licenses and states that it has no enterprise edition, so the connector code you build is yours to host, change and review. The trade-off is that a connector you write is not a catalog connector. Evolveum's support subscriptions cover product bugs in midPoint, and a custom connector sits outside the catalog status that governs what those subscriptions cover. Ask Evolveum in writing whether they will support a connector you build, what they would need from you to triage an issue, and whether a Platform Subscription changes that answer, before you commit to the design.
Record the decision as a written finding, with the check and its owner. Note which catalog connectors you evaluated, why each was rejected, the support status you confirmed and who accepted the risk of owning a custom connector for the life of the target system. That record will be needed later, when a midPoint upgrade changes the connector API or when an auditor asks how an account source is governed.
What you need before writing a ConnId connector
A ConnId connector is only as good as the decisions made before the first line of code. Each card below names one prerequisite, the owner who should sign off on it, and the check that proves it is ready. Settle the midPoint release and runtime first, because every later choice depends on them.
Target midPoint release and runtime
Pick the midPoint release before writing code, because the connector must build and run against it. The 4.11 (Čapek) feature release is planned for 21 October 2026 and recommends Java 25, while 4.10 and older recommend Java 21. Confirm the runtime against the midPoint system requirements, and name the platform owner who approves the version.
System requirementsTarget system API documentation
Collect the vendor's API or protocol documentation for the target system, including authentication, rate limits, pagination, error codes and how objects are identified. Without it, the connector team will guess at create, update and delete behavior. Assign an owner on the target system side who can answer questions about the API during development.
A test instance of the target system
Provision a non-production instance of the target system with realistic account, group and permission data. Ask whether the vendor offers a sandbox tenant and whether it supports the same API version as production. Testing against production accounts is the most common way a connector causes an incident, so agree on test data and cleanup rules in advance.
Development environment and build setup
Set up a Java development environment that matches the runtime midPoint will use, with a build tool and a local midPoint instance for integration tests. Confirm that the developer machines and build agents can reach the test system. Name the engineer who owns the build environment and keeps the Java version in step with the chosen release.
Source control and bundle versioning
Keep the connector in source control from the first commit, with branches tied to target midPoint releases. ConnId identifies a connector by bundle name, bundle version and connector name, and uses four-part version numbers, so the versioning scheme must be agreed before the first release. Name the repository owner who approves tags and releases.
- ConnId version numbers
- 4 parts
Named owners for each decision
Assign one accountable owner on your side for the midPoint release, the target system, the test data, the repository and the production approval. Connector work stalls when no one can decide whether a missing API feature is acceptable. Record these owners in the project plan, and confirm whether training on connector design, based on midPoint 4.8, fits your team's skills before work starts.
Choosing between a catalog connector, the 4.11 generator and a hand-built connector
Start here when the target already has a connector in the Evolveum catalog. The work is mostly configuration: installing the connector bundle that matches your midPoint release, setting connection parameters, mapping attributes and testing reconciliation against a non-production account set. The Evolveum connector catalog lists each connector with its status, so status is the first thing to check.
- Version match: Confirm the bundle version is compatible with your midPoint release before installation.
- Support status: Check whether the connector is listed as supported, community or experimental, because that determines what your subscription covers.
- Configuration effort: Plan for service accounts with least-privilege rights, endpoint credentials and attribute mappings, which usually make up most of the work.
- Defect ownership: Who fixes a connector defect depends on its status, so confirm this for each connector in writing.
Before go-live, run a test reconciliation in a non-production environment and confirm the connector's support status for your subscription.
midPoint 4.11 is planned as a feature release for 21 October 2026, and it introduces an AI-assisted connector generator for systems without a catalog connector. The facts available here do not establish the generator's maturity, the code it produces, the testing it expects or whether generated connectors fall under subscription support. Confirm these with Evolveum before you plan a project around it.
- Release dependency: The generator arrives with 4.11, so deployments on earlier releases need an upgrade plan before they can use it.
- Output review: Treat generated code as untrusted until a developer has read it, run it against a test target and reviewed permissions and error handling.
- Support status: Ask whether generated connectors are supportable, community or experimental, and what that means for your subscription.
- Data handling: Find out what the generator sends to an AI service, where it runs and whether target schemas or credentials leave your environment.
- Ownership: Once generated code is in your repository, your team owns it, including its updates for later ConnId and midPoint releases.
Before approving a pilot, get written answers from Evolveum on maturity, output format and data handling.
A hand-written ConnId connector fits targets that need custom logic, such as proprietary protocols, unusual account lifecycles or business rules that generic connectors cannot express. Your engineers write Java against the ConnId framework, package the result as a bundle and test it like any other resource. The ConnId documentation in midPoint describes how bundles are identified and deployed.
- Bundle identity: Each connector is identified by bundle name, bundle version and connector name, and ConnId uses four-part version numbers, so define your versioning scheme before the first release.
- Ownership: Your team or a partner owns the code, tests, upgrades and incident response for the connector's whole life.
- Test coverage: Cover create, update, delete, search, synchronization and failure paths against a test instance of the target.
- Secrets and permissions: Keep service credentials out of source control and grant the connector only the operations it performs.
- Skills and training: Evolveum offers training on ConnId connector design, which is based on midPoint 4.8, so confirm how much of it applies to your release.
Before go-live, have a second engineer review the code, run a full reconciliation cycle and confirm which midPoint and ConnId versions the connector supports.
How a ConnId connector sits between midPoint and the target system
The request starts in the midPoint resource configuration, which loads the ConnId connector bundle identified by its bundle name, bundle version and connector name. The bundle then calls the target system's API or database using credentials held in the resource configuration, and results return along the same path. Check where each trust boundary falls: the midPoint server, the connector code and its credentials, and the target system. If a connector server runs outside midPoint, it adds an optional hop covered by a separate topic.
Request and result path for a ConnId connector, with trust boundaries marked.
How to build and register a ConnId connector, step by step
This sequence takes a custom connector from target design to a verified resource in a test midPoint, so each stage ends with an observable check before anything touches production data. It is written for the team that will own the connector after handover.
Define the target account and group model
Before writing any code, the architect lists the target system's account and group objects, their identifiers, which attributes are readable and writable, which are multi-valued, and which operations the target actually supports, such as create, update, delete, and group membership changes. Record the mapping from midPoint's view of a user to the target's native objects in a short design document that the identity team and the target system owner both sign off on. The step is done when every midPoint attribute the design needs has a named target attribute and an agreed owner, and the target owner has confirmed which operations are available through the target's API.
Implement the connector operations the target needs
The developer implements the ConnId connector in Java, covering only the operations the design lists, such as schema, search, create, update, delete, and test. Each operation is tied to a specific target API call, and error mapping is written so that failures return the correct ConnId exception types rather than generic errors. Unit tests run against a stub or a sandbox instance of the target. The step closes when the connector passes its unit tests against the sandbox and an operation list shows every design requirement mapped to code or explicitly deferred.
Package the bundle with its name and four-part version
The developer packages the connector as a bundle and sets its bundle name, bundle version, and connector name, because midPoint identifies a ConnId connector by these three values. ConnId uses four-part version numbers, so the version is set deliberately and recorded in the release notes alongside the target system version it was tested against. The package is built reproducibly and stored in the artifact repository your team controls. The step is done when the built archive reports the expected bundle name, bundle version, and connector name, and the team can trace that version to a commit.
Deploy the bundle to a test midPoint
The platform team copies the connector bundle into the connector directory of a dedicated test midPoint instance, never a production instance, and restarts or reloads it according to the deployment method in use. The test instance should match the production midPoint version and Java runtime so that results are representative. Confirm in the midPoint administration interface that the connector appears among the installed connectors with the expected name and version. The step is complete when the connector is listed under the expected bundle and version on the test instance.
Create a resource definition that references the bundle
An administrator creates a resource object in the test midPoint that references the connector by bundle name, bundle version, and connector name, and supplies the target endpoint, service account, and connection settings. Secrets are entered through the platform's secret handling and not written into exported configuration in plain text. Object types and the attribute mappings to midPoint are added as defined in the design document. The step is done when the resource is saved without validation errors and its configuration matches the design document.
Run test connection and schema discovery
The administrator runs the resource test connection, which confirms that midPoint can load the connector and reach the target with the service account. Then the administrator runs schema discovery and compares the returned object classes and attributes with the list in the design document. Any attribute that is missing, typed differently, or unexpectedly read-only is traced back to the connector code or the target permissions before the team continues. The step closes when test connection succeeds and the discovered schema matches the design, with each gap either fixed or recorded as an accepted limitation.
Reconcile against controlled test data
The team loads a fixed set of test accounts and groups into the target sandbox, then runs a reconciliation or import task in the test midPoint. The results are reviewed in a report that lists what midPoint would create, update, link, or delete, and the team confirms that no change falls outside the expected set. Repeated runs should produce no unexpected changes. The step is done when the reconciliation report shows only the changes that the test data was designed to produce, and the team has signed off the connector for the next stage of its release process.
How bundle name, bundle version and connector name identify your connector
A ConnId connector is identified by three values: its bundle name, its bundle version and its connector name. The bundle name identifies the packaged JAR as a whole, the connector name identifies one connector class inside that bundle, and the bundle version identifies the build you deployed. ConnId uses four-part version numbers, so each build has a version such as major.minor.patch.build. Before you write any code, decide how the bundle name and connector name will be used in your naming scheme, because midPoint records them in the resource configuration and they are hard to change later without touching every resource that references them.
What each part means for a deployed resource matters more than the numbering itself. A change to the connector name or bundle name means midPoint sees a different connector, so existing resources that point at the old identity will not load it and must be reconfigured. A bundle version change on the same name is the normal path for fixes and new features, and it lets you run one version beside another while you test. The four parts are a convention your team should define in the build, for example which part changes for a configuration-schema change versus a bug fix. Confirm the exact compatibility rules with the Evolveum ConnId documentation rather than assuming them.
Version bumps also interact with the midPoint release you run. When you move from midPoint 4.10 to 4.11, check that your connector bundle is built and tested against the midPoint version you are moving to, and that the connector version recorded on each resource is the one you intend to use after the upgrade. Set the version in the build file, not by hand, so the artifact and its identity cannot drift apart, and record the bundle name and version in your configuration as code repository alongside the resource definitions. That record is what lets an upgrade or a rollback show which connector build each resource was using.
Mapping midPoint attributes to target account attributes
This template maps each midPoint attribute to the matching attribute on the target system, with the direction of flow, the team that owns the rule and the check that proves it works. Fill in one row per attribute for your own target, because the unique key, status model and group mechanism differ from system to system.
| midPoint attribute | Target attribute | Direction | Owner and check |
|---|---|---|---|
| Identifier (account ID) | Target account ID or login key | Both | Owner: integration team. Check: create test account, confirm the ID returns on search and is stable after rename |
| Unique key | Attribute the target enforces as unique | Both | Owner: target system admin. Check: duplicate create is rejected and the connector reports the conflict |
| Account status | Enabled or disabled flag, or lifecycle state | Both | Owner: identity governance lead. Check: disable in midPoint, confirm target login fails within one reconciliation run |
| Name | Login name or display name | Outbound, inbound if target edits it | Owner: HR data owner. Check: rename test user and confirm no duplicate account is created |
| Primary mail or contact attribute | Outbound | Owner: messaging or identity team. Check: value matches the source record after a sync run | |
| Group membership | Group or role reference on the account | Both | Owner: application owner. Check: add and remove a group, confirm membership changes on both sides |
| Entitlements or custom attributes | Target-specific fields | Depends on rule | Owner: application owner. Check: each field has a documented source and expected value in the test plan |
Securing the connector code and the target credentials
A custom connector runs with a privileged identity on a target system and carries code that midPoint loads and executes. The five controls below connect the account the connector uses, where its secrets live, how the bundle is reviewed before deployment, what the logs keep, and which network paths are open. Each card names a check you can run in your own environment before go-live.
Scoped service account on the target
The connector authenticates to the target as a dedicated service account, not as a personal administrator. Grant only the operations the connector's object classes need, such as read and create for accounts and update for group membership, and withhold delete rights until deprovisioning has been tested. Check this by logging in as the account and attempting each operation the connector does not need. If the attempt succeeds, the scope is too wide and should be narrowed before the connector reaches production.
Credentials kept outside source code
Store the target password, API token or certificate in the secret store your organization already operates, and pass it to the connector through configuration at runtime. Never commit it to the connector repository or to the midPoint configuration files kept in version control. Confirm rotation by reviewing how the connector is configured after a credential change: the new secret should be applied without rebuilding the bundle, and the old one should stop working on the target.
Code review and bundle signing
Treat the connector bundle as privileged code, because midPoint loads it into a process that holds credentials for many systems. Require a second reviewer for every change, build the bundle from a tagged commit, and record the bundle name, bundle version and connector name that midPoint will load. Before deployment, compare the checksum of the artifact in the target environment with the one your build produced. A mismatch means the file was changed after review.
Logs without secrets or personal data
Connector logging often captures full request payloads, which can contain passwords, tokens or personal attributes such as national identifiers. Set the connector's log level so that operations and object identifiers are recorded but attribute values and credentials are masked. Test this by running a provisioning operation with a known test password and searching the midPoint and connector logs for that string. Any match should be fixed before the log level is opened for production support.
Network paths from midPoint to the target
Limit the connection from the midPoint server, or from a remote connector server if you run one, to the specific host and port the target requires, over encrypted transport. Confirm that the connector does not reach other internal systems and that no path exists from the target back into the midPoint database. Verify with a firewall rule review and a connection test from the midPoint host, and record the result as evidence for your architecture and access reviews.
Common connector failures and how to fix them
This table maps six symptoms that appear while building or upgrading a ConnId connector to their likely causes and the check that confirms each fix. Read it during bundle registration, first test connection, schema review, and after any midPoint or Java upgrade. Most failures trace back to a mismatch between the connector's declared identity and the resource definition, or to a runtime that differs from the one the connector was built against.
| Symptom | Likely cause | Fix and check |
|---|---|---|
| midPoint does not find the connector bundle | Bundle name, bundle version or connector name in the resource definition does not match the connector's metadata | Compare all three values in the resource connector reference with the bundle name, bundle version and connector name the built JAR declares. Confirm the four-part version string matches exactly and the JAR is in the midPoint connector directory. |
| Test connection fails on credentials or network | Service account lacks rights on the target, wrong host or port, TLS trust store missing the target certificate, or a firewall blocks the path from the midPoint node | Run the connection test from the midPoint server itself, not your workstation. Check the bind account with a plain client first, then confirm the target certificate is trusted by the Java runtime that midPoint uses. |
| Schema discovery returns fewer attributes than designed | Attributes not declared in the connector schema, a missing attribute mapping in the connector code, or the target account lacks read permission for those fields | Compare the schema output with your design document attribute by attribute. Confirm each attribute is declared in the schema builder and that the service account can read it on the target system. |
| Reconciliation changes many accounts after an upgrade | A changed attribute name, a new default value, a modified mapping or a connector version that reads or normalizes data differently from the previous build | Run a simulation or preview on a copy of the resource before the production run. Diff the attribute values for a sample of accounts between the old and new connector versions, and pause the reconciliation task if the change count is higher than expected. |
| Connector built for an older release fails on a newer Java runtime | Dependencies or bytecode targeting an older Java level, removed or changed APIs, or a midPoint release that requires a newer Java version than the connector was compiled for | Check the Java version midPoint documents for your release in the system requirements. Rebuild the connector against the target runtime, run its test suite on that version and confirm the class loader loads the new bundle without errors. |
| Connector loads in tests but not on the midPoint server | Test harness uses different library versions than the deployed midPoint, or the bundle includes conflicting dependencies | Align the ConnId framework and library versions with those shipped in the target midPoint release. Remove duplicate or shaded libraries from the bundle and repeat the bundle registration check. |
What a custom ConnId connector costs and what it needs from your team
What drives the effort of building a custom ConnId connector?
The main drivers are the number of object types the connector must manage, the quality of the target system's API, the operations it has to support, how much test coverage you require, and how many releases you plan to ship. A connector that only creates and disables user accounts through a well-documented REST API is a small job. A connector that handles users, groups, roles and entitlements across several object types, with incomplete vendor documentation, grows quickly. Ask any partner to break the estimate down along these five factors so you can see which one dominates.
How long does a custom ConnId connector take to build?
Duration depends on scope and on how well the target system is documented. The fastest path is a narrow scope against a stable API with working sandbox access. Delays usually come from unclear API behavior, missing test instances, rate limits and edge cases in account lifecycle, such as deleting or disabling accounts with dependent data. No duration figure is supplied for this topic, so ask for a written timeline tied to named milestones: design review, first working operations, test coverage and handover.
Can our internal team build a ConnId connector without a partner?
Yes, if the team has Java development skills, experience with identity lifecycle concepts and access to the target system's API. Evolveum offers a training on designing and implementing ConnId connectors, which is based on midPoint 4.8. Check the Evolveum training and certification page for the current course schedule and content before planning around it. Many organizations combine training with a partner review of the design, which keeps internal ownership while reducing rework.
What must our team provide before a connector build starts?
The build needs a non-production test instance of the target system, API documentation and credentials for it, and a dedicated service account with only the permissions the connector needs. You also need named decision owners who can approve the object types, attribute mappings and deprovisioning behavior. Without these, the build stalls at the first integration test. Agree on who will review changes and who will sign off on production access before work begins.
What recurs after a custom connector goes live?
Some costs repeat. Each midPoint and ConnId version change can require connector testing against the new release, and target systems change their APIs, authentication methods and rate limits over time. Someone must also own bug fixes, monitoring of provisioning errors and the test suite. Plan for recurring maintenance as a budget line rather than a one-time project cost. Ask whether the quote includes upgrade testing and how many target system releases it covers.
What should we ask for in a written quote for a connector?
Ask for an itemized scope listing object types, operations (create, update, delete, search, sync and any custom actions), target systems and versions, and test coverage. Require the quote to state the assumptions about target API access and documentation, the acceptance criteria, the handover deliverables such as source code and runbooks, and the support terms after go-live. Confirm who owns the source code and whether the connector can be maintained by your team. DeployOpen does not publish a price list, and a quote follows from the written scope.
Is a custom connector a supported Evolveum product?
No. A custom connector you write or commission is your own code, so Evolveum subscription support does not cover it. Support status applies to connectors that Evolveum publishes in its catalog, and those statuses are listed in the Evolveum connector documentation. Before committing to a custom build, check the Evolveum connector catalog for an existing connector, because a supported or community connector may reduce both build and maintenance costs.
How DeployOpen works on this
DeployOpen plans, builds, tests, documents and supports self-hosted open-source platforms inside your own infrastructure, including a custom ConnId connector for midPoint when no catalog connector fits. Work starts from a written scope that names the target system, the resource behavior and the deliverables before any code is written.
How we scope
- Agree in writing which target system objects, operations and attributes the connector must handle.
- Confirm the midPoint version, Java version and deployment model the connector will run under.
- Record whether the connector runs inside the midPoint server or through a remote connector server.
How we build
- Implement the ConnId connector with a bundle name, bundle version and connector name agreed up front.
- Test create, update, delete, search and reconciliation against a non-production copy of the target system.
- Verify the four-part version numbering and bundle identification in each midPoint environment before promotion.
How we hand over
- Deliver source code, build instructions, configuration examples and a resource definition for your team.
- Document known limitations, error handling and the operations that the connector does not support.
- Walk your engineers through the connector so they can maintain it after the engagement ends.
How we support
- Offer ongoing support, upgrades and testing as a retainer when your midPoint version changes.
- Retest the connector against each planned midPoint and target system upgrade before it reaches production.
- Confirm with your team which fixes and upgrades fall under the retainer before the engagement starts.

