judo-runtime:access-control

Enforce declarative authorization rules for JUDO Runtime operations.

Updated May 5, 2022
One-click install
npx skills add https://github.com/BlackBeltTechnology/judo-runtime-core --skill judo-runtime-access-control
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: judo-runtime:access-control
Source: https://github.com/BlackBeltTechnology/judo-runtime-core/tree/main/judo-runtime-core-accessmanager/src/main/resources/claude/plugins/judo-accessmanager/skills/access-control
Command: npx skills add https://github.com/BlackBeltTechnology/judo-runtime-core --skill judo-runtime-access-control

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill provides a comprehensive framework for defining and enforcing access control rules within JUDO Runtime applications, ensuring that only authorized actors can access specific operations and data.

Core Features & Use Cases

  • Actor-Based Authorization: Differentiate between public and authenticated actors.
  • Operation Exposure Control: Explicitly define which actors can invoke specific operations using exposedBy annotations.
  • Customizable Authentication: Integrate custom authentication logic via interceptors.
  • Use Case: Secure a banking application by ensuring that only authenticated Customer actors can perform transferFunds operations, while PublicUser actors can only access viewAccountBalance.

Quick Start

Configure the access control rules for the 'Model.OrderService' operations to be accessible only by 'Model.AuthenticatedUser'.

Frequently Asked Questions about judo-runtime:access-control

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

FAQPage Schema
How do I enforce access control in the JUDO Runtime framework?

Access control in the JUDO Runtime is enforced by defining actor-based authorization rules, using `exposedBy` annotations for operation exposure, and configuring realm settings to validate actor types.

How does actor-based authorization work in JUDO applications?

Actor-based authorization in JUDO differentiates between public and authenticated actors, ensuring that only explicitly authorized actor types can invoke specific operations exposed via declarative annotations.

Can I use custom authentication logic with JUDO Runtime access control?

Yes, JUDO Runtime access control supports customizable authentication by integrating custom logic via interceptors, allowing you to enforce fine-grained security policies for specific actor types.

What is the best way to restrict specific operations to authenticated users in JUDO?

The best way to restrict operations is by using `exposedBy` annotations to explicitly define which authenticated actor types can invoke specific operations, preventing public access.

Does JUDO Runtime access control require explicit annotations for operation exposure?

Yes, the system validates access based on explicit exposure directives, requiring `exposedBy` annotations to govern which actor types can access specific operations within the application.