cbsecurity

Official

Secure ColdBox apps with annotations & JWT

AuthorColdBox
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Provides a structured, production-ready approach to authenticate and authorize ColdBox and BoxLang applications, removing the guesswork from securing handlers, routes, and APIs.

Core Features & Use Cases

  • Annotation-based authorization for handlers and individual actions to keep security rules close to code.
  • Firewall rules and route-level security to broadly protect URL prefixes like /admin and public asset whitelisting.
  • JWT API authentication with token issuance, refresh, logout, and optional token storage for revocation.
  • Role and permission checks via a centralized security context and IUserService integration.
  • Production hardening guidance such as storing secrets in environment variables, short token lifetimes, and revocation strategies.

Quick Start

Install and enable the cbsecurity module, configure firewall rules and JWT settings, and annotate handlers or apply JwtAuthFilter to protect your routes.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: cbsecurity
Download link: https://github.com/ColdBox/skills/archive/main.zip#cbsecurity

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.