When a midPoint overlay project is the right tool
An overlay project is justified only after configuration has been ruled out. Before a midPoint team considers code-level change, it should confirm that mappings and expressions, object templates, function libraries and GUI customization cannot meet the requirement. Most requirements that look like they need code turn out to be solvable with a modeled object, a script in a supported expression type or a view in the admin interface. The question to answer first is not whether code is possible but whether the requirement is a gap in midPoint's configuration model or a gap in how the team has modeled its own data.
The Evolveum documentation describes the overlay project as a Maven project that builds midPoint with added or changed code and resources, so the result is a midPoint build that your organization compiles, packages and runs. This follows from Evolveum's position that midPoint has no enterprise edition and that every line of its code is published under open source licenses. Nothing in the product is locked behind a paid tier that an overlay would bypass. The overlay is therefore your own build, and your team or your partner owns its patch level, testing and upgrade path. Confirm the current overlay build steps in the Evolveum overlay project documentation before estimating any work.
Treat the overlay as a long-term commitment rather than a quick fix. Every overlay build has to be rebuilt and retested against each midPoint release you adopt, including the long-term support and feature releases on the midPoint releases page. Ask the Evolveum support and release notes what changed in the code your overlay touches before each upgrade. Record the requirement, the configuration options you tried and why each one failed, so a future reviewer can challenge the overlay decision with evidence.
Which requirements justify code and which do not
Most requests about how midPoint looks or which screens users see are handled through configuration. Collections and views, dashboards, custom forms and deployment colours and logo are covered in the user interface configuration guidance, so teams should exhaust those options before planning any code. An overlay is generally discussed when a visual change goes beyond what the configurable interface allows, such as styling that the standard settings cannot express.
- Start with configuration: Check whether collections, views, dashboards and custom forms already meet the screen requirement.
- Branding first: Colours and logo are configuration items, so they do not need a code build by default.
- Overlay as the remaining option: Consider an overlay only when a documented configuration path cannot produce the result.
- Weigh upgrade cost: Each overlay change adds work at every midPoint upgrade, so keep a list of visual changes and their owners.
- Confirm specifics: Check exact styling hooks and file locations against the overlay documentation before committing to a design.
Before approving a styling change to code, confirm with the overlay documentation that the change cannot be made through configuration in your midPoint version.
Business logic that derives values, sets attributes or drives assignments normally lives in mappings, expressions, object templates and function libraries. These are configuration objects, so they can be reviewed, versioned and tested without changing midPoint itself. Code becomes relevant only when the logic depends on behaviour that expressions cannot reach, and that boundary should be confirmed for the release in use.
- Mappings and expressions: Most attribute derivation is designed as inbound and outbound mappings with chosen expression types.
- Object templates: Consistent identity data, unique usernames and automatic role assignment are set up as template configuration.
- Function libraries: Repeated script logic can be shared as configuration before anyone considers code.
- Script language choices: Confirm which expression language your version supports and what security profile applies to it.
- Code as the last step: Reach for an overlay only if a required behaviour cannot be expressed in these configuration layers.
For each piece of logic, ask the team to name the configuration object that should hold it and to document why that object cannot do the job.
midPoint connects to target systems through the ConnId connector framework, and the Evolveum catalog lists connectors with different support statuses. Using a documented connector is a configuration task. Writing a connector for a system that is not in the catalog, or changing how an existing code path behaves, is a different category of work and is where an overlay project is most likely to be justified.
- Catalog first: Check whether the target system has a documented connector and what its support status is.
- Configuration of existing connectors: Connection settings, attribute mapping and synchronization are configuration, not code.
- New connectors: A system with no suitable connector may require custom connector development, which is a separate scope from the overlay itself.
- Changed code paths: Altering core processing behaviour is the strongest case for code, and also the one with the highest upgrade risk.
- Support impact: Check with Evolveum how custom code affects support boundaries before relying on it in production.
Before accepting a custom connector or code path, confirm the support status of the nearest documented connector and the expected effort to maintain the change through upgrades.
Adding attributes to users, roles or organizations is usually handled through schema extension. The GUI schema panels cover many cases without code, and an XSD-based approach is available for others. Schema decisions affect search, indexing and data loads, so they should be made before data is migrated. A code change to the data model is rarely the first option and should be treated as a major decision.
- GUI schema panels: Many custom attributes can be added through the interface without a build.
- XSD extension: Use it when the GUI approach does not cover the required structure, and confirm the procedure for your version.
- Indexing for search: Plan which extended attributes must be searchable before load.
- Planning before load: Changing the model after data is loaded adds migration work and test effort.
- Upgrade exposure: Model changes need checking at each upgrade, so record every extension with its reason.
Before approving a data model change in code, confirm that extension through configuration cannot represent the attribute and that the change is documented for future upgrades.
Overlay builds come last, after configuration, connectors and support have been ruled out
The decision starts when a requirement arrives and moves through checks in a fixed order: can existing midPoint configuration meet it, can a connector or Evolveum's support channel meet it, and only then is an overlay project considered. Each hand-off is a point where the team should record why the earlier option failed. An overlay build that passes this path still needs an overlay-info.txt file so midPoint shows an overlay message, and its signature status should be reviewed before it reaches production.
Decision path from a new requirement to an overlay build in production.
Overlay project compared with configuration-only options
This table compares four ways to change midPoint, from configuration objects to a code-level overlay build. Read each row as a question you can ask your team: what the option changes, who keeps it working, what an upgrade costs, and when it is the right fit. The main takeaway is that an overlay carries the highest upgrade and ownership burden, so it should be the last option considered.
| Option | What it changes | Who maintains it and upgrade cost | When it fits |
|---|---|---|---|
| Configuration objects via midPoint Studio | Mappings, object templates, roles, resources, tasks and policies stored as midPoint objects, managed as files in Git | Administrators and configuration developers. Upgrades usually re-test objects against the new release, with low code work | Identity logic, provisioning rules and role design that the standard product already supports |
| GUI customization | Collections, views, dashboards, custom forms and deployment branding through the admin interface | Administrators with configuration skills. Upgrades check that views and forms still render and behave as expected | Screens that need to show different data or layout without changing how midPoint works |
| Function libraries | Reusable script logic called from expressions and mappings | Developers who write and test script code. Upgrades mainly test scripts against changed expression behavior and security profiles | Repeated logic shared across many mappings or templates, kept inside supported expression features |
| Overlay project | Code-level changes to midPoint through a Maven overlay that builds a customized WAR or JAR | Your own developers or partner, who rebuild, test and redeploy on every midPoint upgrade. Highest recurring effort | Changes the configuration options cannot reach, after you confirm the need is not met by the first three options |
| Overlay build signature status | Whether the custom build identifies itself as an official midPoint build or as a modified one | Your release team must add the overlay information file so the interface shows an overlay message, not an unofficial build warning | Any overlay in production, so auditors and support staff can tell a sanctioned build from an unknown one |
What an overlay can change and what it cannot promise
An overlay carries changes that sit on top of the standard midPoint distribution, and they fall into a few broad classes: custom code (Java classes and libraries packaged into the build), resources (files the application loads at startup or at runtime) and branding files that replace or add to the default look of the interface. Each class has a different risk profile. Code changes touch the application's internals, resource changes depend on how midPoint reads them, and branding changes are the lowest risk but still need checking after every upgrade. Before design starts, ask Evolveum which extension points are supported for your target release, because the Evolveum overlay project documentation describes the mechanism but does not make a promise about every internal class you might want to change.
Every change in an overlay becomes your responsibility. When Evolveum publishes a new midPoint release, your overlay must be rebuilt against it, and each custom class, resource and branding file must be tested again on a non-production environment before it moves forward. A change that worked on the previous release can break silently when an internal interface moves, so the test effort grows with the number of customizations rather than with the size of the platform. Ask who on your side owns that regression suite, how long a rebuild and retest cycle takes for your scope, and whether the overlay has to be re-signed or re-labelled as part of each build.
Treat anything not documented as a supported extension point as unpromised. Evolveum does not guarantee that code written against internal APIs will compile, behave the same or remain in place across feature releases, and the support you buy from Evolveum covers product defects, not the behavior of your custom code. Write down, in the design record, which extension points you rely on, the release each was verified against and the owner who will repeat that check. That record is what lets an upgrade be planned as a bounded task instead of an open investigation.
How to set up an overlay project safely
This sequence moves a code-level change from a documented configuration gap to a tested overlay build that runs in a non-production midPoint environment. Each step produces a record or check that the next step depends on, so the overlay stays traceable and identifiable as an overlay.
Confirm configuration options are exhausted
Before any code is written, the platform owner and the midPoint administrator review the requirement against configuration tools such as mappings, object templates, collections, custom forms and function libraries. Write down each option considered, why it fails the requirement, and the exact behavior the overlay would add. The step is done when a reviewer who did not write the requirement agrees that no configuration path meets it. Keep this record with the change ticket, because it is the justification auditors and future upgrade planners will ask for.
Create the Maven overlay project
A developer creates the overlay project from the Evolveum guidance on Maven overlays, keeping the upstream midPoint version pinned to the release your environment runs. Only the files that the documented gap requires are added or changed, and each change is kept in its own package or module so it can be reviewed and removed later. The step is done when the project builds locally against the pinned midPoint version without any unrelated source modifications.
Add the overlay-info file
Add an overlay-info.txt file to the build so that midPoint displays an overlay message instead of reporting an Unofficial build on its status screen. Describe the organization, the change identifier and the contact owner in the file so operators can tell at a glance what is running. The step is done when the built artifact contains the file and the administration interface shows the overlay message after startup, as described in Evolveum's JAR signature status documentation.
Build and deploy to a non-production environment
The build engineer produces the overlay artifact from a clean checkout and deploys it to a non-production midPoint environment that matches production in database version, Java version and connector set. Record the artifact checksum and the exact source commit in the deployment record. The step is done when the deployed build's version and overlay status match the build record, and the environment matches production closely enough that results can be trusted.
Verify startup and key flows
The QA lead and identity owner confirm that the node starts cleanly, connects to the repository, and completes the standard flows the change touches, such as a reconciliation run, an access request, or the affected connector operation. Compare results with the same flows on the unmodified build and check logs for new errors. The step is done when the test cases pass, the results are attached to the change ticket, and the owner signs off that nothing outside the documented gap has changed.
Record the change in version control
Commit the overlay source, the build configuration, the overlay-info file and the configuration gap record to version control, with a tag that links the artifact to its commit. Add a short upgrade note listing each changed file, the midPoint version it depends on, and the test cases to rerun on upgrade. The step is done when another engineer can rebuild the same artifact from the repository and the upgrade note is accepted by the team that will own the next midPoint upgrade.
How JAR signature status affects overlay builds
An overlay build is a custom midPoint build, so it does not carry the signature status of an official Evolveum release. The cards below cover what the build reports, how to label it, and what to settle with Evolveum and your auditors before you depend on it.
What signature status reports
midPoint shows the signature status of its JAR files in the administration interface, so an administrator can see whether the running code matches an official, signed release. A custom build compiled from your own overlay project does not match an official release. Check the status page in your test environment after your first overlay build, and record what it displays for each node so the result is visible to reviewers.
Signature status docsOverlay info file labeling
Include an overlay-info.txt file in the overlay build so midPoint shows an overlay message instead of the Unofficial build label. The message tells operators that the running code is a known overlay rather than an unidentified build. Treat the file's content as part of your change record: it should name your organization, the overlay version and the base midPoint release it was built from.
Unofficial build as a default state
Without an overlay-info.txt file, a custom build appears as an Unofficial build. Auditors and security reviewers may read that label as an unknown or modified distribution. Confirm the label behavior in a staging environment before production, and make sure the file is packaged in every artifact that reaches production, not only the main node.
Auditor reading of overlay builds
Ask Evolveum how they expect an overlay build to be read in your context, and ask your internal and external auditors how they will treat it in an access certification or control assessment. The answer determines how much evidence you must collect. Do not assume that an overlay build is accepted or rejected by default. Record the question, the answer and the date it was given.
Evidence to retain
Keep a bundle for each production build: the source commit, the build pipeline log, the overlay-info.txt content, the base release version, the signature status shown by each node, and the deployment record. Store it with your configuration history so you can show which code ran during any review period. Confirm the retention period with your compliance team.
Verifying each node after deployment
In a multi-node deployment, check the signature status on every node after each rollout, not only on the first. A mixed set of builds in the cluster is a finding that auditors will ask about. Add the check to your deployment runbook and fail the rollout if a node reports an unexpected status.
Questions buyers ask before choosing an overlay
What does a midPoint overlay project cost, and what drives the price up?
The cost is the engineering time to design, build, test and document the code-level change, plus the time to re-test and re-apply it at every midPoint upgrade. Work grows with the number of changed classes or resources, how far the change reaches into core behavior, how many environments must be tested, and how much existing configuration depends on the change. Whether the work is done by your team or by a partner, ask for a written scope that separates the one-time build from recurring upgrade and support effort. No supplied fact gives a price, so request a quote from the defined scope.
How long does it take to build and upgrade an overlay?
Duration depends on the size of the change and on how often the overlay must move to a new midPoint release. A small change that is isolated from core code is quicker to rebuild than one that touches authorization, mapping engines or GUI internals. Each upgrade requires rebuilding the overlay against the new release, rerunning tests, and checking that the change still behaves as expected. Plan the upgrade window around the release cadence on the midPoint releases page, and confirm durations with your implementation partner or internal team against your own test environment.
What does our team need to provide for an overlay build?
The team needs a clear functional requirement, access to a non-production midPoint environment that matches production, a Java build pipeline, and people who can review code and test results. Security and compliance staff should approve any change that affects authentication, authorization or audit logging. You also need a named owner who accepts the change and decides when to upgrade. Ask the builder to document the build steps, the Java version, the source of each patch, and the test cases used to verify the behavior.
Can an internal team maintain an overlay project long term?
An internal team can maintain an overlay if it has Java build skills, a repeatable upgrade process, and enough people to cover the work when a key engineer leaves. The overlay must be rebuilt and retested on every midPoint upgrade, so ownership is ongoing, not a one-time task. Before committing, check whether the team can support the Java version midPoint recommends for the release in use, as listed in the system requirements. Write down who signs off each rebuild, and keep the overlay small enough that a new engineer can understand it.
Does an overlay build show as official in midPoint?
An overlay build should include an overlay-info.txt file so that midPoint displays an overlay message rather than the Unofficial build label. This matters for auditors and internal reviewers, because an unrecognized build can raise questions about where the running code came from. Include the file in every release of the overlay, and record the overlay version alongside the midPoint version in your change records. Confirm the exact message and signature behavior against the JAR signature status documentation before you rely on it in a review.
When should we choose Evolveum support or professional services instead?
Choose Evolveum support when a defect in the product needs a vendor fix, and choose professional services when the need is a feature or behavior midPoint does not provide. Evolveum offers Product Support subscriptions with an 8x5 next-business-day or 24x7 SLA, and Platform Subscriptions that add feature development and roadmap influence, according to the support subscriptions page, which lists no prices. Ask whether a requested change can be met through configuration, a feature request, or a supported extension before writing overlay code. Overlays make the most sense when those options have been checked and rejected.
What risks come with a code-level change to midPoint?
The main risks are upgrade breakage, unreviewed behavior in identity processing, and loss of vendor support for the affected area. A change in core code can silently alter provisioning, approvals or certification results after an upgrade. Reduce risk by keeping the change narrow, writing automated tests for the behavior, and running the change through a staging environment that mirrors production data flows. Confirm with Evolveum how a custom build affects the support you hold before you rely on it in production.
What an overlay adds to every midPoint upgrade
Every overlay adds work to each midPoint upgrade, because the upgrade path must step through supported versions and the overlay must be rebuilt and retested against each target release. Plan for this before the first build, not at the first upgrade. Check the upgrade path in the midPoint releases page for the versions your deployment must pass through, and confirm which release lines are still under support on the dates you intend to upgrade. An overlay that works on your current release says nothing about the next one until it has been built and tested against it.
Each cycle involves rebasing your custom code onto the new midPoint release, resolving conflicts in any classes or resources you changed, and rerunning your test suite, including connector and mapping tests that exercise your production configuration. Then confirm that the built artifact still carries an overlay-info.txt file, so the running system shows your overlay message rather than the Unofficial build warning, and that the JAR signature status matches what your change control expects. Record the result of each check in the release notes for that build so auditors and your own operations team can trace it.
The effort per upgrade depends on how far your code reaches into midPoint internals, how many custom components you carry, and how much test coverage you have built around them. Ask any implementation partner to estimate that recurring effort in writing, separately from the one-time build, and to show how the estimate changes if a release moves the APIs your code depends on. The upgrade topic covers how to sequence these steps across long-term support and feature releases.
How DeployOpen works on this
DeployOpen plans, builds, tests, documents and supports midPoint overlay work inside your own infrastructure, so the decision to fork code-level behavior is made against a written scope. Engagements are fixed-scope, with scope, deliverables and timelines agreed in writing before work starts.
How we scope
- We list each configuration change that a mapping, object template, GUI setting or expression could handle before proposing an overlay.
- The written scope names the code-level changes, the midPoint release line they target and the build artifacts you will receive.
- We record which overlay-info.txt message and signature status you expect in each environment so audit reviewers see the same build.
How we build
- We build the overlay as a Maven overlay project against the midPoint release you have chosen, keeping custom code separate from upstream sources.
- We test each overlay build against your identity sources, repository and connectors in a non-production environment before promotion.
- We review every change for security impact, including authorization, expression handling and any new network exposure.
How we hand over
- You receive the source, build instructions, overlay-info.txt contents and a runbook describing how to rebuild after an upstream upgrade.
- Documentation records each code-level change, the reason it was needed, and the configuration alternative that was rejected.
- Your team is walked through deploying the overlay JAR into your environment and checking the displayed overlay message after startup.
How we support
- Ongoing support, upgrades and continuous testing for overlay builds are available as retainers, scoped in writing.
- Upgrade work includes rebasing the overlay onto each supported midPoint release and retesting custom code paths.
- Where you need vendor-level bug fixes, we ask you to confirm whether an Evolveum Product Support subscription applies to your deployment.

