What midPoint archetypes are and when to use them for midPoint archetypes
Archetypes let you give one object type several business-specific kinds without writing custom code. In midPoint, users, roles and organizations each live in a single object type, yet an organization may need to treat employees, contractors and service accounts differently, or separate application roles from business roles with different owners and screens. An archetype is a label attached to an object that carries its own structure, behaviour and presentation, so the platform can handle each kind as a distinct type. Evolveum's archetypes documentation describes this as a way to add business-specific structure to object types, which is the reason to read it before you consider custom schema or a fork.
Use archetypes when the differences between object kinds change what the administrator sees or what the system does with the object: which forms and tabs appear, which attributes are required, which policies apply, or which default assignments are made. Plain object templates still fit when every object of a type needs the same treatment, and plain roles fit when the difference is simply which access an identity receives. If you cannot name the behaviour or screen that differs, you probably do not need an archetype yet. Before you commit, confirm with your midPoint version's documentation which archetype features apply to your object types, and test the chosen design on a non-production copy with a few representative objects of each kind.
Archetypes also carry policy, which is where the decision has the greatest governance effect. The Evolveum security policy documentation states that a security policy can be defined in a structural archetype assigned to a user and merged with the global policy, so an archetype can hold password or authentication rules for one population. Decide early which populations need different security settings, who approves those differences, and how you will show auditors that each archetype's rules are enforced. Ask your implementation partner or your own team to document the archetype list, its owners and the policies attached to each one before the first production import.
Where archetypes fit: user, role and org subtypes
User archetypes usually carry the most weight in a regulated deployment, because they decide which population a person belongs to and which screens, policies and reviews apply to them. An illustrative set of user subtypes might be employee, contractor, service account and external auditor. Each subtype can carry its own presentation in the midPoint user interface, so a contractor record can show end date and sponsor fields that an employee record does not need.
- Presentation: Assign different forms and columns so that reviewers see the fields that matter for each population, such as a sponsor for contractors.
- Policies: Attach policies through the archetype, for example stricter authentication or a shorter review cycle for external users.
- Security policy: Define a security policy in a structural archetype assigned to the user, which is merged with the global policy.
- Lifecycle handling: Plan how each subtype enters and leaves the system, since joiner and leaver logic often differs between employees and contractors.
- Reporting: Use subtypes as a filter in reports and certification scope so auditors can see each population separately.
Confirm in the Evolveum archetype documentation which user-level behaviours an archetype can change, and check how the merged security policy behaves when a user has more than one structural archetype.
Role archetypes separate the kinds of access object you manage, so that application roles and business roles are not handled as one undifferentiated list. An illustrative set of role subtypes might be business role, application role and technical role. The subtype helps administrators and business users find the right object, and it lets you attach different approval and ownership expectations to each kind of role.
- Presentation: Show a business role with a description, owner and category, while an application role shows the target resource and entitlement it maps to.
- Governance: Attach owner, approver and lifecycle rules through the archetype so that every role of a given kind follows the same pattern.
- Catalog exposure: Decide which subtypes appear in the request catalog, since application roles are often hidden from business users.
- Naming and filtering: Use the subtype to filter role lists in the interface and in reports, which helps during role reviews.
- Consistency: Apply the same archetype to roles created by different teams so that required fields are not skipped.
Confirm in the archetype documentation how role-level presentation and policies are configured, and test how these settings interact with meta-roles before you rely on them for approvals.
Org archetypes distinguish the kinds of organizational unit that carry different meaning for access, approvals and delegated administration. An illustrative set of org subtypes might be department, cost centre, location and project. Each one may have different owners, different managers and different reasons to appear in an approval chain, so treating them as one type often causes confusion when access is derived from the structure.
- Meaning: Keep departments for reporting lines and cost centres for financial ownership, so that approvals do not route through the wrong kind of unit.
- Presentation: Show a project org with start and end dates, and a location with address and site contacts.
- Delegated administration: Restrict which org subtypes an administrator can manage, using the authorization model.
- Lifecycle: Plan how projects are closed and archived, since project orgs usually have a shorter life than departments.
- Structure rules: Decide which org subtypes may contain which others, so the hierarchy stays readable for auditors.
Confirm in the Evolveum archetype documentation which org-level presentation and policy settings are available, and verify how org archetypes interact with the organizational structure used for access and approvals.
Some archetype behaviour is set once and applied across object types, so the design needs an agreed pattern before the subtypes multiply. Shared settings cover naming conventions, the way subtypes are labelled in the interface, and how each archetype is linked to its policies. Without this agreement, each team creates its own subtypes and the model becomes hard to read.
- Naming: Agree a naming pattern for archetype names and labels that works across users, roles and orgs.
- Ownership: Name one owner for the archetype design who approves new subtypes before they are created.
- Change control: Keep archetype definitions under version control if your deployment manages configuration as code.
- Testing: Verify each subtype in a non-production environment with representative objects before rollout.
- Documentation: Record which subtypes exist, what each changes and who approved it, so auditors can trace the design.
Before you start, confirm the exact archetype options for each object type in the Evolveum documentation and check them against the version you run, since available settings can differ between releases.
Archetype configuration options and when each fits
This table compares the main ways to give a midPoint object type its own behaviour, screens and policies, and sets out when each choice fits and what it costs to maintain. Read each row against your own object types, then confirm exact configuration keys in the Evolveum archetype and security policy documentation before you design.
| Option | When it fits | Trade-off |
|---|---|---|
| Structural archetype on users, roles or orgs | Each object type needs a stable business classification, such as employee, contractor or service account, that drives presentation and policy | One structural archetype per object is the usual model, so overlapping classifications need a deliberate choice of primary type |
| Auxiliary archetype | A cross-cutting trait, such as privileged or regulated, must apply on top of an existing structural type; confirm support and behaviour in the archetype docs for your release | Multiple archetype layers are harder to reason about and test, so keep the number of auxiliary types small |
| Object template or mapping work | Values must be derived or normalized for every object regardless of its type, such as naming rules or default attributes | Templates apply broadly, so type-specific logic inside them grows harder to read and review over time |
| GUI presentation per archetype | Different teams need different forms, columns or labels for the same object type, for example a contractor view without HR-only fields | Presentation is not access control; hidden fields can still be reached through other interfaces, so pair it with authorization |
| Per-archetype security policy | A subset of users, such as administrators or service accounts, needs stricter password, authentication or credential rules than the global policy | Policies merge with the global policy, so conflicting settings are hard to trace; document the effective result and test it per type |
| Custom code or overlay changes | No archetype or template setting can express the need, and the requirement has been reviewed against the documented options first | Code-level changes add upgrade, testing and support effort on every midPoint release, so treat them as the last resort |
How to set up archetypes in a midPoint deployment
This sequence takes archetypes from a business agreement on subtypes to a tested configuration that behaves the same way in production. Each step ends with a check you can repeat before the next one starts.
Agree the subtype catalogue with owners
Start with a workshop between identity administrators, business owners for users, roles and org units, and security owners who will sign off on any policy attached to a subtype. List each proposed subtype, the object type it applies to (user, role or org), the population it describes, and the owner who approves changes to it. Keep the catalogue short at first, because every subtype adds screens, rules and review work. The step is done when each subtype has a named owner, a written purpose and a sign-off from the security owner. Check the catalogue against your HR and directory sources so that every subtype can be populated from data you already trust.
Define each archetype and its assignment rules
For each approved subtype, create the archetype object in the midPoint repository and write its assignment rules. Decide whether assignment is manual, driven by an object template, or driven by a mapping from a source system, and record which attribute or condition triggers it. Confirm whether the archetype is structural, since only a structural archetype can carry security policy later. Test the rules on a handful of sample objects in a non-production environment. The step is complete when each sample user, role or org receives exactly the archetype you expect and no object receives two conflicting archetypes. Record the test set so you can rerun it after changes.
Attach behaviour and presentation per archetype
Add the behaviour that distinguishes each archetype, such as the assignments or inducements it brings, the object template that runs for it, and the admin GUI configuration that controls which tabs, columns and forms appear. Keep presentation changes to what helps administrators and approvers find the right fields, and keep access-relevant behaviour in roles and mappings rather than in screen settings. Log in as a test administrator with limited rights and check the object lists and detail views. The step is done when each archetype shows the intended screens and the expected default values, and when a user who should not see an archetype's extra fields does not see them.
Add policies through archetypes
Attach the policy rules that apply to the subtype, such as policy constraints, approval settings or meta-role references, to the archetype or to the roles it governs. Confirm that the constraints match the intent recorded in step one, and that a policy does not block objects that were never meant to fall under it. Run a policy evaluation on the sample set and review each violation. The step is complete when every expected violation appears and every unexpected one has a documented explanation or a fix.
Configure per-archetype security policy
Where a subtype needs different credential, authentication or session requirements, define a security policy in the structural archetype assigned to the user. midPoint merges this with the global security policy, so the global policy remains the baseline for everything else. Write down the merged result for each archetype and compare it with the requirements from the security owner. Test a sample login and password change for at least one user of each archetype, and confirm which policy was applied. The step is done when the effective policy for every archetype matches the signed-off requirement.
Test with sample objects in non-production
Build a repeatable test set covering each archetype, including edge cases such as a user who moves between subtypes, a role used by more than one archetype, and an org that is reorganized. Load the test set into a non-production environment that matches production configuration as closely as practical, and run the full sequence of assignments, screens, policies and login checks. Record the expected and actual results for each case. The step is done when all cases pass or each failure has a logged fix and a retest. Keep the test set so it can run after every change to archetypes or the object templates that depend on them.
Confirm the upgrade path with release notes
Before any change reaches production, read the release notes for the target midPoint version and compare them with your current version. Check for changes to archetype handling, admin GUI configuration, security policy behaviour and schema, and confirm which versions your installation can step through. Rerun the test set on the target version in a non-production copy. Ask Evolveum or your partner to confirm any behaviour the release notes do not cover. The step is complete when the release notes review, the upgrade rehearsal and the test results are filed together and signed off by the change owner.
How per-archetype security policies merge with the global policy
A security policy can be defined inside a structural archetype and assigned to a user, and midPoint merges that archetype policy with the global security policy. For a midPoint deployment this matters most where a user type needs different rules from the rest of the workforce, such as privileged administrators, contractors or external users who may need stricter authentication, different password requirements or tighter access rules. The first decision is which user types genuinely need their own policy and which can rely on the global one. Keep that list short, because every additional archetype policy is another rule set to test and maintain.
The risk sits in the merge itself. If an archetype policy overrides a setting you meant to inherit, or if a user is missing the structural archetype assignment, that user silently falls back to the global policy and may get weaker password or authentication rules than intended. A conflicting setting can be just as hard to spot, because nothing fails at login and the mistake only surfaces in an audit or an incident. Before go-live, confirm in your own environment which settings the archetype policy overrides, which it leaves to the global policy, and how a user with no structural archetype is handled.
Test the outcome per user before go-live rather than trusting the configuration on paper. Pick representative accounts from each user type, including one edge case such as a user whose archetype was removed or changed, then check the effective password, authentication and access settings each account receives. Repeat the check after any change to the global policy, because the merged result depends on both sides. Record the test results as evidence for your security and compliance reviewers. Confirm the exact merge behaviour and the settings each policy supports against the Evolveum security policy configuration documentation for the midPoint version you run.
Security and operational risks when archetypes change who sees what
Archetypes change what administrators see and which policies apply to each object type, so a change to them is a change to access. The cards below cover the risks that matter most and the controls your team should own before an archetype reaches production.
Who can change archetype assignments
An archetype assignment decides which screens, policies and behaviour a user, role or org receives. If an administrator can assign or reassign archetypes without review, they can move objects into a more permissive configuration. Limit who holds the authorizations to assign archetypes, and log every change to an assignment. Check the administrator roles in your environment before go-live, not after the first incident.
Archetypes docsScreens exposing data to wrong administrators
Archetype-specific screens can show attributes, lists or actions that the general administration views hide. A custom view built for one team can expose sensitive user or role data to a group that was never meant to see it. Test each archetype screen with a non-privileged administrator account and confirm which attributes and actions appear. Treat screen changes as access changes that need the same review as role changes.
Policy merges that weaken global rules
Security policies defined in a structural archetype are merged with the global policy. A merge can relax a rule that the global policy enforces, such as password or authentication settings, for every user carrying that archetype. Compare the effective policy for each archetype against the global policy, and record which settings each archetype may override. Make the merged result a documented, reviewed artifact rather than something inferred from the configuration files.
Security policy docsDrift between environments
When archetype definitions are edited directly in one environment, development, test and production can diverge. A policy or screen that was tested in one place may behave differently in production, and reviewers may approve a configuration that is not the one deployed. Keep archetype objects under version control, deploy them through the same pipeline in every environment, and compare exported objects after each deployment. Confirm your configuration-as-code approach with the midPoint deployment guidance before adopting it.
Testing and rollback of archetype changes
An archetype change can affect every object assigned to it, so a faulty mapping or policy can reach many accounts at once. Before a change, test it against a copy of production data, define who approves it, and record the previous configuration so it can be restored. Schedule a rollback exercise for the archetype configuration as part of your operations runbook. Confirm the backup and restore steps with your midPoint operations procedures before relying on them.
How an archetype assignment changes behaviour, screens and policy
The diagram starts with a user, role or org receiving a structural archetype assignment. The archetype then supplies the presentation and behaviour defined for that object type, along with any security policy defined inside it. That policy is merged with the global security policy, and the result is the effective behaviour the object type shows in the interface. Check the merged outcome for each archetype, because the global policy still applies to every object and the archetype only adds to it.
Conceptual view of the documented archetype model, not a runtime trace.
Questions teams ask before configuring midPoint archetypes
Do midPoint archetypes require custom code?
No. Archetypes let administrators add business-specific structure, behaviour and presentation to object types without custom coding, according to Evolveum's archetype documentation. The work is configuration: you define the archetype object, assign it to users, roles or orgs, and attach the behaviour and screens you need. Custom code only enters the picture if a requirement goes beyond what the configuration model supports, such as a bespoke GUI component or a logic rule that the standard expressions cannot express. Confirm the exact configuration options against the version you run, since the schema and GUI options change between releases. Read the Evolveum archetypes documentation before assuming a requirement needs code.
How much effort does an archetype design take?
Effort depends mostly on how many object types you split and how different their behaviour must be. A design with a few archetypes for one object type, such as separate employee and contractor users, is far smaller than one that splits users, roles and orgs across many business units with their own screens and policies. Other drivers include the number of attached policies, the security policy variations per archetype, the number of existing objects that must be reclassified, and how many environments the design must pass through before production. Ask any partner for a written breakdown by archetype, policy and screen, and for a test plan that covers each assignment path.
What do business and security owners need to provide?
The design needs decisions that only the business and security owners can make. Business owners should define the categories of users, roles and orgs, the attributes each category needs, and which screens and actions each group should see. Security owners should set the policy differences per archetype, such as password rules, authentication requirements, and which administrators may change archetype definitions. Both groups should sign off on the naming, ownership and review of each archetype before build starts. If these decisions are deferred, the team usually rebuilds the archetypes later, so agree a named approver for each decision in the scope document.
Can an internal team configure midPoint archetypes alone?
An internal team with midPoint experience can usually configure archetypes alone, provided it has someone who understands the midPoint object model, the GUI configuration options and the security policy merge behaviour. The risk is in the surrounding decisions rather than the XML or GUI steps. Teams often lack time to test every assignment path, to review changes with security owners, or to keep the configuration aligned with later releases. A partner can take on any of these pieces under a fixed scope, or review your design before you build it. Evolveum also offers training and professional services for midPoint, which is a separate option to weigh against outside implementation help.
How do archetype changes affect an upgrade?
Archetype changes must be tested against the target midPoint release before you upgrade, because schema and GUI behaviour can change between versions. midPoint has long-term support and feature releases, and upgrades must follow the supported upgrade path listed on Evolveum's release page. Keep archetype definitions in version control, record which objects each archetype affects, and run a test upgrade against a copy of production data. Check that existing objects still match their archetype after the upgrade, and that the security policies still merge with the global policy as designed.
What happens to existing objects when an archetype changes?
The effect depends on which settings change and how objects are assigned to the archetype. Changing an archetype's presentation or screens affects how administrators see the objects, while changes to attached policies or behaviour can affect what objects are allowed or required to do. Before you change an archetype in production, list the objects assigned to it, review the policies that will apply to them, and decide whether a recalculation or a bulk change is needed. Test the change in a non-production environment with a representative set of objects, and keep a rollback plan that restores the previous archetype definition.
Do archetype security policies override the global policy?
Security policies defined in a structural archetype assigned to a user are merged with the global policy, according to Evolveum's security policy documentation. The merge means you should not assume the archetype replaces the global settings. Confirm the merge result for each archetype in a test environment, because overlapping settings such as password or authentication rules can produce a combined outcome that differs from what the design team expected. Document the effective policy for each archetype and have security owners approve it before production use. Read the security policy configuration page for the merge rules that apply to your version.
What to confirm in your environment before you rely on archetypes
Start by fixing the midPoint version you will run, because archetype behaviour, screens and policy handling should be checked against that exact release rather than assumed from documentation written for another one. The current candidates named on the releases page are 4.8 (Curie), a long-term support release supported until 17 October 2028, and 4.10 (Braille), a feature release supported until 26 November 2027. Ask whether the archetype features you need, including per-type screens and security policies attached through a structural archetype, behave the same way in your chosen version. Then test them in a non-production environment built from that version, and record the results. Plan the upgrade path now, since 4.9 support ends 18 October 2026 and 4.11 is planned for 21 October 2026.
Next, confirm the platform prerequisites on the midPoint system requirements page for the version you selected. The page recommends Java 25 for 4.11 and later, with Java 21 supported, and Java 21 for 4.10 and older, with Java 17 supported. PostgreSQL is the native repository database and is best run on a separate database server. Check that your platform team can supply the required Java runtime and PostgreSQL version in your environment, and that your container or virtual machine images match. Archetype configuration is stored in the repository, so any change to the database version or schema should be rehearsed alongside the archetype design.
Then verify how archetypes interact with your existing roles, object templates and assignments in your own configuration. An archetype can carry mappings, policies and presentation settings, and these can overlap with object templates and role inducements that already apply to the same users, roles or orgs. Build a small test set of subtypes and assignments, run a preview of the resulting changes, and confirm which settings win when more than one source applies. Ask whether your audit framework requires evidence of the subtype catalogue, such as a listing of archetypes, their purposes and their owners, along with change records for each one. If it does, agree on the format and the system of record for that evidence before the catalogue grows.
How DeployOpen scopes and delivers midPoint archetype design
DeployOpen plans and builds archetype design for midPoint inside your own infrastructure, starting from the object types, lifecycle rules and approval paths your organization needs. Each engagement is fixed-scope, with the archetypes, policies and screens agreed in writing before build work begins.
How we scope
- We inventory the user, role and org subtypes your organization needs and the business reason for each.
- We define which archetypes carry their own policies, screens and behaviour, and which stay plain objects.
- We agree in writing which per-archetype security policies are in scope and how they merge with the global policy.
How we build
- We configure archetypes, their assignments and presentation settings on your midPoint instance without custom code.
- We attach policies through archetypes and test that each object type receives the intended behaviour and screens.
- We verify per-archetype security policy merges in a non-production environment before any change reaches production.
How we hand over
- We document the archetype model, its assignment rules and the policy each archetype carries for your administrators.
- We walk your identity and platform teams through how to add a new archetype and test it before rollout.
- We deliver test cases and configuration in your repository so your team can review changes and reproduce results.
How we support
- Ongoing support, upgrades and continuous testing are available as retainers for midPoint archetype configuration.
- We can check archetype and policy settings again when you plan a midPoint upgrade to a later supported release.
- We confirm with your team which release line you run before scoping, since support windows differ across releases.

