XWiki for public sector and government

XWiki for ministries, agencies and local government: how self-hosting, open source licensing, government SSO and content separation fit public sector requirements, and what a partner should plan.

On this page

Why public sector teams self-host XWiki for government documentation

Public sector teams self-host XWiki when they need a controlled knowledge base for policy, procedures and casework that stays under government control. The usual alternative is a hosted SaaS wiki whose tenant, administrators and support staff sit outside the agency's authority, which makes it harder to answer questions about where records live, who can reach them and which foreign legal regimes apply. XWiki is a candidate for this case for three reasons: its code is licensed under the LGPL 2.1, so the agency can run, inspect and modify it without a per-seat license relationship with a vendor, its official Docker images are published under the same license and maintained by the XWiki Core Dev Team, and the platform runs in infrastructure the agency or its designated operator controls.

Choosing this model changes the build in three places. First, hosting location becomes a formal decision: the agency must name the data center, cloud account or air-gapped network, the operators with administrative access, and where backups are kept, and it should check any foreign-controlled provider against the transfer and third-country access rules that apply to its data. Second, identity moves to the government directory. The XWiki Pro catalog lists Active Directory and Azure Active Directory SSO applications, and the community OpenID Connect extension can authenticate users against an external OpenID Connect provider, so the team should confirm which of these fits its identity stack before the design is fixed. Third, content must be classified before migration. Policy drafts, casework notes and public guidance need different spaces, rights and retention, and the classification should drive the permission model rather than follow it.

Self-hosting does not by itself satisfy any framework. It gives the agency control over the system that the compliance and security teams must then assess, document and operate. Ask your assessor which control baseline, accessibility standard and records rules apply to the wiki, and confirm the XWiki version, database variant and extensions against those requirements. Plan for the upgrade cadence of the chosen release line from the start, because an unpatched wiki on government infrastructure is a finding in its own right.

Which public sector requirements shape an XWiki build

This table maps the public sector requirements most likely to affect an XWiki deployment to their source, their scope and what they mean for hosting, encryption, accessibility and content placement. Check the applicability column first, because several rules apply only to certain agencies, data types or contracts. Read each row as a question to answer with your legal and compliance teams before the architecture is fixed.

RequirementWhat it means for an XWiki buildApplies to
FedRAMP scope (OMB M-24-15)A cloud-hosted XWiki that holds federal information for an agency needs FedRAMP authorization; a single-agency system on cloud infrastructure that is not offered as a shared service is out of scope. Self-hosting in agency-controlled data centers changes the question, so confirm the boundary with the authorizing official.Federal agencies and their cloud service providers, not all government wikis
CJIS Security Policy v6.1 encryptionCriminal justice information in XWiki pages, attachments, backups and transit needs FIPS 140-3 validated modules or AES with at least 256-bit keys outside physically secure locations. Check the Java, TLS and database encryption settings against this rule, not only the default configuration.Agencies handling criminal justice information
CJIS Security Policy v6.1 vulnerability scanningVulnerability scanning at least monthly applies to the XWiki host, Tomcat, Java and the database. The wiki and its extensions need the same scan schedule and a record of findings.Agencies handling criminal justice information
CUI handling under NIST SP 800-171 (32 CFR 2002.14)Federal agencies apply NIST SP 800-171 when setting requirements for controlled unclassified information on non-federal systems, so a contractor-run XWiki holding CUI inherits those safeguards. Confirm the CUI category's own authority, since it may prescribe other safeguards.Agencies and contractors handling controlled unclassified information
CMMC Level 2 cloud rule (32 CFR 170.17)A defense contractor storing CUI in a cloud-hosted wiki must use a FedRAMP Moderate or higher service or meet equivalent requirements. A self-hosted XWiki inside the contractor's own scope is assessed there instead.Defense contractors seeking CMMC Level 2
ADA Title II web accessibility (28 CFR 35.200)Public web content, and content delivered through contracted or licensed systems, must meet WCAG 2.1 Level A and AA. Entities serving 50,000 or more people must comply from 26 April 2027, and smaller entities and special districts from 26 April 2028, so test themes, editors and public spaces early.State and local government entities covered by Title II
NIS2 scopeNIS2 covers central government entities of any size and lists public administration as highly critical. Member States may extend it to local administration, and it excludes national security, public security, defense and law enforcement entities, so an internal wiki for those functions falls outside it.EU public administration, with national exemptions
GDPR Chapter V and remote accessAny transfer of personal data to a third country, including remote access for support that only displays data, must meet Chapter V conditions. Hosting XWiki or its support sessions outside the EEA, or allowing offshore administrators, creates transfers to document.Controllers and processors handling EU personal data
US CLOUD Act exposureA US-headquartered provider can be required to preserve or disclose data under 18 U.S.C. 2713 wherever it is stored. Ask hosting, support and extension vendors where they are headquartered and who controls their access to your data before engaging them.Not applicable

Choosing hosting for sovereignty: government data center, government cloud or XWiki Cloud

The agency, or the government IT provider it contracts, runs XWiki on servers in a data center it controls. The agency's own staff or that provider patch Tomcat, the database and the XWiki packages, run backups and review administrator accounts. Data stays in facilities the agency can name in its records, which usually makes residency statements simpler to write. Authorization follows the agency's own risk management process, with the control baseline selected for the system's categorization.

  • Operator: the agency or its contracted provider owns patching, monitoring, backups and access reviews, so staffing and on-call duties sit with them.
  • Data location: name each site, backup location and disaster recovery site in the system documentation.
  • Authorization path: the system's categorization determines the SP 800-53 baseline. The NIST baselines select 149 controls for low, 287 for moderate and 370 for high systems, so the choice drives the evidence workload.
  • Encryption for criminal justice information: if the wiki holds CJI, the CJIS Security Policy version 6.1 expects FIPS 140-3 validated modules or AES with keys of at least 256 bits outside physically secure locations, so confirm the Java and database encryption choices.
  • Operator access: data center staff with physical or hypervisor access may fall inside the accreditation boundary, so list them in the boundary definition.

Confirm with your authorizing official which baseline applies and whether the data center's own staff sit inside the system boundary.

Configuring XWiki for government identity, public and internal content

Government XWiki deployments succeed or fail on a few configuration decisions made early: how users sign in, which spaces are public and which are restricted, how data is protected at rest, and what history the wiki keeps. These six components depend on each other, so the identity team, records owners and platform engineers should review them together before the build starts.

SSO with government identity

The xwiki-contrib OpenID Connect extension can authenticate XWiki users against an external OpenID Connect provider, which is the usual route when the agency's identity service speaks OIDC. Confirm with the identity team which protocol the agency's identity service supports, which claims it issues, how group membership maps to XWiki groups, and how deprovisioning reaches the wiki when someone leaves. Where Microsoft identity is used, XWiki Pro lists Active Directory and Azure Active Directory SSO applications, which should be checked against the agency's license and support model.

OIDC extension repository

Role-based restricted spaces

Restricted content belongs in spaces whose access is set by group, not by individual page. Map each space to a documented owner and a named group, and test that inherited rights do not expose child pages or attachments to users outside the group. Ask the records and security teams to sign off on a permission matrix before content is migrated, because retrofitting rights across thousands of pages is slow and error prone.

Public and internal space separation

Public documentation, such as published procedures and open data, should live in spaces that are separate from internal working content, so that a misconfigured right on one area cannot expose the other. Decide whether public pages are served from the same instance or a separate one, and document who approves content moving between the two. Accessibility obligations for public web content also apply to the wiki's output, so confirm the public theme and templates against WCAG 2.1 Level AA with the agency's accessibility team.

Encryption at rest for data and attachments

XWiki stores page content in the database and files as attachments, so encryption at rest has to be planned for both the database volume and the attachment storage, along with the backups of each. Ask the infrastructure team which encryption standard and key management service the agency requires, and whether the platform's key custody meets it. Where CJIS-scope or CUI data may appear, the cryptographic requirements are stricter, so confirm them before any such content is loaded.

Audit trail and page history

Page history records each revision, its author and its date, which supports records duties and investigations. Confirm with the records and audit teams how long revisions must be kept, whether deleted pages and attachments need a separate retention path, and where server and access logs are shipped. Page history alone rarely satisfies an audit requirement, so the log retention and review process should be written down before go-live.

Database variant for agency standards

The official XWiki Docker images come in MySQL, PostgreSQL and MariaDB variants, each running on Tomcat. Choose the variant that matches the agency's supported database platform, its backup tooling and its patching process, rather than the one used in the most tutorials. Confirm with the database team which engine and version they support, who holds the administrator role, and how the chosen image is rebuilt and tracked when a security update is released.

Database variants
3
XWiki Docker image docs

How to separate public, internal and controlled content in one wiki

The first decision is which content classes a single XWiki instance may hold at all. Agencies usually sort material into public, internal and controlled tiers before any space is created. Public pages can sit on a shared instance without extra handling. Internal procedures, staff directories and policy drafts need authenticated access and a restricted audience. Controlled content, meaning controlled unclassified information (CUI) under 32 CFR 2002 or criminal justice information (CJI) under the FBI CJIS Security Policy, changes the answer. Under 32 CFR 2002.14(h)(2), a federal agency applying NIST SP 800-171 to non-federal systems sets the safeguards for CUI, so the wiki's hosting and access model must be assessed against the category's requirements, not against the wiki's convenience. Confirm with your security and records officers which categories apply and which ones the wiki may hold.

Where controlled content is allowed in the wiki, XWiki's own settings do part of the work: separate wikis or spaces, group-based view and edit rights on each space, and restricted pages for sensitive sub-trees. Test those rights with accounts from each role, because inherited permissions are easy to misconfigure. For CJI, the CJIS Security Policy version 6.1 requirements in the supplied facts call for FIPS 140-3 certified modules or AES with at least 256-bit keys for data in transit and at rest outside physically secure locations, and monthly vulnerability scanning (SC-13, SC-28, RA-5). Check whether the database, Tomcat and storage layers can meet those requirements before any CJI page is written. If they cannot, the practical answer is that CJI stays out of the wiki and the wiki links to the system of record instead. Classification decisions belong to the agency's security and records officers, and this plan should be signed off by them.

How identity, XWiki and the trust boundary fit together

The flow starts with a government user signing in through the agency identity provider over OIDC, which hands a token to XWiki running on Tomcat inside the agency boundary. XWiki reads and writes its pages in the chosen database and keeps attachments in agency-controlled storage. Audit events leave the boundary only toward the government SIEM, which is shown as optional. Check that every box inside the boundary sits in infrastructure the agency controls, and confirm which identity provider and SIEM the agency actually uses.

Login, data stores and audit export across the agency trust boundary.

Rolling out XWiki in an agency: from procurement to records retention

This sequence takes an agency from the licensing and procurement file to a supported XWiki service, with identity, content structure, accessibility and records handling checked before users rely on it. Each step ends with a written output the agency can review and sign off.

  1. Build the open source licensing and procurement file

    Procurement and legal staff confirm the license position for XWiki, which is LGPL 2.1 for the software and its official Docker image repository, and record which edition fits the need: XWiki Standard for the free open source version, or XWiki Pro and a support subscription if the agency wants vendor support, extensions or connectors. Ask XWiki SAS for the current support tier terms and quote, and record that cloud and on-premises pricing is stated as the same. The step closes with a procurement file that lists the license, the chosen edition, the support scope and the named internal owner, so reviewers can see what is being bought and what is free.

  2. Assess hosting, security and data location

    The security team maps the data the wiki will hold, including public, internal and any restricted content, and decides where the instance will run: the agency's own data center, a government cloud the agency already approves, or a provider the agency selects. Where cloud hosting is considered, the team checks whether the provider's authorization status meets the sensitivity of the content and whether any foreign government access or data transfer exposure must be assessed. The output is a written hosting decision and a risk assessment with the controls mapped to the agency's chosen baseline, such as NIST SP 800-53 controls, which the agency should confirm against its own authorization requirements.

  3. Integrate government identity and create test accounts

    Identity engineers connect XWiki to the agency's identity provider using the protocol that provider supports. Where OpenID Connect is used, the team checks the xwiki-contrib OpenID Connect extension against the agency's requirements, and confirms that group membership maps correctly to XWiki groups. Test accounts are created for each role, including administrators, editors, readers and an account with no access to restricted spaces. The step closes when a tester can sign in with each test account, the expected rights are confirmed, and a failed login is logged and visible to the security team.

  4. Classify content and design spaces

    Records and content owners agree a classification scheme for the wiki, mapping each class to a space, a group of editors and a read scope. Public-facing content, internal procedures and restricted material are kept in separate spaces so that rights can be applied at the right level. The team documents who approves publication, how retention is handled for each space and which content must never be placed in the wiki. The output is an approved space map and a permissions matrix that the agency's records and privacy officers have reviewed.

  5. Migrate from Confluence or the legacy wiki

    The migration team moves content from the existing wiki in stages, starting with a small set of spaces that represent the main content types. For Confluence, XWiki SAS offers Confluence Migrator Pro, which migrates spaces, pages, users, groups, permissions, attachments and metadata, and keeps page history but not attachment history. The agency should decide in advance whether attachment history must be kept elsewhere as a record. The trial version is limited to 30 pages per migration, so the team plans sample runs accordingly. The step closes with a reconciliation report comparing source and target page counts, permissions and attachments, signed off by the content owners.

  6. Test accessibility against WCAG 2.1 AA

    Accessibility testers check the migrated templates, navigation, forms and public pages against WCAG 2.1 Level A and AA, which the ADA Title II rule requires for state and local government web content from the dates it sets, depending on population served. Testers use both automated checks and manual testing with assistive technology, and record each defect with a severity and an owner. Custom skins and extensions are tested as well as the standard interface. The step closes with an accessibility test report and a list of open defects with agreed fixes, so the agency can show what was tested and what remains.

  7. Run a controlled pilot

    A limited group of named users from two or three departments uses the wiki for real work for a fixed period agreed in advance. The pilot checks login, search, permissions, editing workflows, page history and the handling of records that must be kept. Feedback is logged, and security and records staff review access logs and any unexpected permission results. The step closes with a pilot report listing issues found, how each was resolved and a go or no-go decision by the business owner and the security lead.

  8. Hand over operations and set records retention

    The implementation team hands the service to the agency's operations staff with runbooks covering backups, upgrades, log review, user provisioning and incident response. The agency confirms how security patches are applied, who monitors the instance and how the retention schedule for wiki content and page history is enforced. If a support contract is in place, its scope is confirmed in writing. The step closes when the operations team has run a restore test from backup and records retention settings are documented and approved, giving the agency an operating service it can review independently.

Compliance considerations for government wiki deployments

A government wiki touches several overlapping regimes at once: federal control catalogs, criminal justice data rules, accessibility law, EU public administration duties and data transfer rules. The cards below set out which regime applies to which content and hosting choice, and what to confirm before the architecture is fixed. DeployOpen prepares controls and evidence for your assessors, but independent auditors and authorizing bodies issue the reports and authorizations.

NIST SP 800-53 baseline selection

FISMA requires agencies to protect their systems under the NIST SP 800-53 control catalog, and SP 800-53B selects a low, moderate or high baseline by impact level. The baseline you pick determines how many controls the XWiki instance must meet, covering access control, audit logging, configuration management and backup. Confirm the impact categorization with your authorizing official before you size logging, authentication and hosting controls. Select the baseline before the wiki's content is classified.

SP 800-53B baselines

FedRAMP scope boundaries

FedRAMP applies to cloud products that hold federal information on behalf of an agency, and systems used only for one agency's own operations on cloud infrastructure are generally out of scope. A self-hosted XWiki in your own data center or agency-controlled cloud account avoids this question, while a third-party hosted wiki serving several agencies would need an authorization. Ask your agency's security office whether the deployment is a shared service before you select a host.

CJIS Security Policy for criminal justice data

If the wiki stores or displays criminal justice information, the FBI CJIS Security Policy applies to every system, administrator and log file that touches it. Version 6.1 requires FIPS 140-3 certified cryptographic modules or AES with 256-bit keys for CJI in transit and at rest outside physically secure locations, and vulnerability scanning at least monthly. Keep case-related procedures out of general spaces, and confirm the Requirements Companion Document with your CJIS Systems Agency.

ADA Title II accessibility deadlines

State and local governments must make web content and mobile apps meet WCAG 2.1 Level A and AA, including content delivered through contracts or licenses. Deadlines depend on population served: entities serving 50,000 or more people must comply by 26 April 2027, and smaller entities and special districts by 26 April 2028. Test XWiki themes, editor output and attachment viewers against the standard, and write the accessibility requirements into your implementation scope.

Large entity deadline
26 Apr 2027
28 CFR Part 35 text

NIS2 applicability to public administration

NIS2 covers central government entities of any size and lists public administration as a sector of high criticality. Member States may extend it to local public administration, and it does not apply to entities working in national security, public security, defense or law enforcement. Determine whether your body is in scope under national transposition, since that drives incident reporting, supply chain security and access control duties for the wiki hosting it.

NIS2 directive text

GDPR transfers and CLOUD Act exposure

Any transfer of personal data to a third country, including remote administrative access from outside the EEA, must meet Chapter V conditions. Hosting with a provider subject to the US CLOUD Act can require disclosure of data regardless of where it is stored, and GDPR Article 48 restricts recognition of such orders. Map which administrators, backup services and support staff can see data in the clear, and document the transfer assessment before you choose a cloud or support provider.

Questions agencies ask before hiring a partner for XWiki

What drives the cost of an XWiki deployment for a government agency?

Scope drives cost more than anything else: the number of wikis and spaces, how many identity sources must connect, how much content moves from an existing system, and how much accessibility and hosting work the agency requires. The main cost components are the partner's planning and build effort, identity integration, migration effort if content comes from Confluence or another wiki, and any extensions that must be licensed. Most engagements are fixed-scope, so the written scope should list each of these as a separate line. Ask the partner for a quote that separates one-time work (installation, integration, migration, testing) from recurring items (hosting, support subscriptions, upgrades, and retainers). Ask which items depend on user counts, because the XWiki SAS support tiers are priced by number of users.

Can our agency run XWiki internally after it is deployed?

Yes, if the agency has staff who can operate Linux servers, a Java application server, a database and a backup process. XWiki Standard is open source under the LGPL 2.1, so the agency can run it in its own infrastructure without a license fee. The official Docker images come in MySQL, PostgreSQL and MariaDB variants on Tomcat, which gives operations teams a familiar stack. The harder part is ongoing: staying on a supported line, applying security upgrades, managing extensions and keeping the search index and office conversion services healthy. Agencies that want to keep this in-house should ask the partner for a handover that covers runbooks, upgrade steps and access to documentation, and should decide early who owns each recurring task.

How long does a government XWiki deployment take?

The timeline depends on scope, and no fixed duration applies to every agency. The main variables are the number of identity sources and approvals needed, the volume and quality of content to migrate, how many spaces need custom permission models, and how long the agency's hosting and security reviews take. Accessibility work and records or compliance mapping add time when they are part of the scope. Ask for a plan with phases and named dependencies, and check which dates depend on the agency providing access, decisions or content owners. A partner that cannot tie the timeline to a written scope should not be given a commitment date.

What must our agency provide before a partner starts work?

The agency should prepare three groups of inputs before work begins. The first is identity: contacts who own the directory or government identity system, the protocols it supports, test accounts, and the group structure that will map to XWiki permissions. The second is content: named owners for each space, a decision on what content stays, what is archived and what is not migrated, and a list of sensitive content that needs restricted spaces. The third is hosting: access to the target cloud account, data center or air-gapped network, network rules, certificates, backup storage and change approval paths. Missing any of these usually moves the schedule, so ask the partner to list them in the written scope as client responsibilities.

Do XWiki SAS support tiers and day rates apply to our deployment?

They apply only if the agency buys them. XWiki SAS offers support subscriptions in Starter (up to 25 users, XWiki Cloud only), Basic (up to 1,000 users), Business (up to 10,000 users) and Enterprise (unlimited users) tiers, and states that cloud and on-premises pricing is the same. According to the XWiki SAS pricing page, consulting is listed at 1200 EUR per day and requires a Business or Enterprise support plan, and training is listed at 1500 EUR per day. Those are vendor list figures, not DeployOpen prices. Ask the partner which parts of the work are delivered under DeployOpen's written scope and which, if any, would need a vendor subscription, and confirm current figures with XWiki SAS before budgeting.

Is XWiki Standard enough for a government agency?

XWiki Standard is the free open source version and is enough for many agency wikis, including documentation, procedures, internal knowledge bases and structured spaces. XWiki Pro adds business applications, connectors and XWiki SAS support. The Pro list includes Active Directory and Azure Active Directory SSO applications, File Manager, Forum, Polls, Calendar, Ideas, Meeting, Diagram, Pro Macros, and Google Apps, Office365 and OnlyOffice connectors. Whether an agency needs these depends on its identity estate, its office suite and whether it wants vendor-backed support. Also check whether the features the agency needs are available under the open source license or only through a paid extension, and confirm licensing terms with the vendor before procurement.

What should an agency check about accessibility and public content?

Start by confirming which content is public, which is internal and which is restricted, because each needs different access rules and hosting controls. For public-facing pages, the ADA Title II rule requires state and local government web content, including content provided through contracts or licenses, to meet WCAG 2.1 Level A and AA. The compliance date is 26 April 2027 for entities serving 50,000 or more people and 26 April 2028 for smaller entities and special districts, according to 28 CFR 35.200. Ask the partner how theme, templates and extensions will be tested against WCAG 2.1 and who owns fixes for custom macros and content authored by staff.

How DeployOpen works on this

DeployOpen plans, implements, integrates, hardens, documents and supports XWiki inside the infrastructure your agency or municipality controls, including cloud accounts, data centers or air-gapped networks. The work starts from a written scope that sets out which content, identity sources and compliance evidence the deployment must cover.

How we scope

  • Engagements are fixed-scope, with deliverables and timelines agreed in writing before work starts.
  • The scope records which spaces hold public, internal and restricted content and who may read each one.
  • We confirm your hosting boundary, data residency rules and whether any content falls under a national or sector regulation.

How we build

  • We deploy XWiki from the official Docker images with the database variant your platform team already operates.
  • We configure SSO against your government identity provider and test role mapping for each department and team.
  • We test permissions, search behavior, attachment handling and extension configuration before any content is migrated.

How we hand over

  • You receive architecture notes, runbooks, backup and restore procedures and the permission model in writing.
  • We document the access review steps your security and records staff need to repeat after handover.
  • Retesting of the configured instance is included in the written scope, so fixes are verified before go-live.

How we support

  • Ongoing support, upgrades and continuous testing are available as retainers after handover.
  • Upgrade planning follows the XWiki release lines you choose, with the change record kept in your environment.
  • Ask for a quote built from the written scope, listing each deliverable, the retest and any retainer terms.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.