Implementing Attribute-Based Access Control in Axon Applications
summary
Claims a production-ready ABAC stack that integrates with Axon using Streaming Attribute Policy Language (SAPL) and ASBAC, with embedded or remote PDP options and publish/subscribe updates so decisions change at runtime. Demonstrates Axon annotations for pre/post enforcement, constraint handlers that trigger obligations or transform query results (blackening fields), and subscription modes that drop or recover updates. Tooling includes PDP server, playground, policy tests and CI support; reported throughput reaches thousands to ~20k auth checks/sec when embedded and cached.
AI-written summary · about
chapters (16)
- 0:00Introduction to ABAC in Axon
- 1:01What is Attribute-Based Access Control
- 3:13SAPL: Policy Language and Engine
- 9:35Event-Driven Architecture with SAPL
- 17:28SAPL Tooling and Testing
- 26:20Framework Integration in Axon
- 27:43Policy Enforcement Points in Axon
- 30:21Command Handling with SAPL
- 33:56Handling Permit/Deny Decisions
- 34:19Modifying Commands via Constraints
- 36:09Query Handling and Data Filtering
- 38:59Subscription Queries and Dynamic Access
- 42:08Real-Time Policy Enforcement
- 47:01Release Plans and Community
- 47:47Q&A: Testing and Audits
- 50:20Q&A: Model Changes and Performance
