jahia-java-security

Apply Security Filter, CSRF Guard, ACLs, and Captcha to Jahia Java HTTP surfaces.

Updated Mar 10, 2026
One-click install
npx skills add https://github.com/Jahia/formidable --skill jahia-java-security
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: jahia-java-security
Source: https://github.com/Jahia/formidable/tree/main/.agents/skills/jahia-java-security
Command: npx skills add https://github.com/Jahia/formidable --skill jahia-java-security

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Securing HTTP-reachable surfaces in Jahia Java modules is essential to prevent data leakage, unauthorized access, and service misuse. This guide explains how to apply the four protection mechanisms to design, implement, and audit safe surfaces.

Core Features & Use Cases

  • Security Filter: Applies origin and permission gating on exposed servlets and GraphQL endpoints to enforce default, auditable boundaries.
  • CSRF Guard: Adds a cross-site request forgery defense for authenticated operations while noting guest bypass considerations.
  • ACLs and Permissions: Uses JCR ACLs and declared permissions to enforce content and operation boundaries, with clear guidance on system vs user sessions.
  • Captcha and Tokens: Provides non-replayable tokens to defend against automated abuse and complement other protections.

Quick Start

Audit a Jahia Java backend surface and implement the four protection mechanisms correctly.

Frequently Asked Questions about jahia-java-security

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I secure Jahia Java backend HTTP endpoints against unauthorized access?

To secure Jahia Java backend endpoints, apply the four protection mechanisms: Security Filter, CSRF Guard, ACLs, and Captcha. This enforces default permission boundaries, prevents cross-site request forgery, and stops automated abuse on exposed servlets and GraphQL endpoints.

What is the best way to implement CSRF protection for authenticated operations in Jahia?

The best way to implement CSRF protection in Jahia is by applying the CSRF Guard mechanism to authenticated operations. This approach adds a cross-site request forgery defense for authenticated users while correctly handling guest bypass considerations for unauthenticated traffic.

How do I enforce content and operation boundaries using JCR ACLs in Jahia modules?

You enforce content boundaries in Jahia modules by using JCR ACLs and declared permissions. This approach restricts operations while providing clear guidance on when to use system sessions versus user sessions for auditable access control.

Does Jahia support captcha integration to prevent automated service abuse on APIs?

Yes, Jahia supports captcha integration to prevent automated service abuse. The Captcha protection mechanism provides non-replayable tokens that defend against automated attacks and complement other security protections on your HTTP-reachable surfaces.

Why do I need a Security Filter for my Jahia GraphQL endpoints and admin screens?

You need a Security Filter for Jahia GraphQL endpoints and admin screens to apply origin and permission gating. This mechanism enforces default, auditable boundaries that prevent data leakage and unauthorized access to your backend HTTP surfaces.