{"id":45844861,"url":"https://github.com/heutelbeck/sapl-demos","last_synced_at":"2026-02-27T01:19:53.768Z","repository":{"id":37483201,"uuid":"117289871","full_name":"heutelbeck/sapl-demos","owner":"heutelbeck","description":"Demo, tutorial, and benchmarks for the SAPL policy engine","archived":false,"fork":false,"pushed_at":"2026-02-11T16:03:43.000Z","size":19374,"stargazers_count":16,"open_issues_count":0,"forks_count":19,"subscribers_count":8,"default_branch":"master","last_synced_at":"2026-02-12T00:59:22.549Z","etag":null,"topics":["access-control","authorization","benchmark","demo","examples","java","policies","sapl","security","spring","spring-security","tutorial"],"latest_commit_sha":null,"homepage":"http://sapl.io","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/heutelbeck.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2018-01-12T21:31:24.000Z","updated_at":"2026-02-11T16:03:48.000Z","dependencies_parsed_at":"2023-10-22T19:28:40.095Z","dependency_job_id":"6d720cd8-a7b9-45ba-9765-fafb10b22dc1","html_url":"https://github.com/heutelbeck/sapl-demos","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/heutelbeck/sapl-demos","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/heutelbeck%2Fsapl-demos","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/heutelbeck%2Fsapl-demos/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/heutelbeck%2Fsapl-demos/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/heutelbeck%2Fsapl-demos/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/heutelbeck","download_url":"https://codeload.github.com/heutelbeck/sapl-demos/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/heutelbeck%2Fsapl-demos/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29880302,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-26T23:51:21.483Z","status":"ssl_error","status_checked_at":"2026-02-26T23:50:46.793Z","response_time":89,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["access-control","authorization","benchmark","demo","examples","java","policies","sapl","security","spring","spring-security","tutorial"],"created_at":"2026-02-27T01:19:53.085Z","updated_at":"2026-02-27T01:19:53.750Z","avatar_url":"https://github.com/heutelbeck.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SAPL Demo Projects\n\nThis repository contains demo projects demonstrating various aspects of SAPL (Streaming Attribute Policy Language) for Attribute-Based Access Control.\n\n## Getting Started\n\nIf you are new to SAPL, start with these demos:\n\n- [embedded-pdp](embedded-pdp) - Manually construct and use a PDP without framework support\n- [webflux](webflux) - Reactive method security with streaming PEP annotations\n- [queryrewriting-jpa](queryrewriting-jpa) - Row-level security with Spring Data JPA\n\n## Demo Categories\n\n### Core PDP Usage\n\n| Demo                         | Description                                         |\n|------------------------------|-----------------------------------------------------|\n| [embedded-pdp](embedded-pdp) | Build and use a PDP programmatically without Spring |\n| [remote-pdp](remote-pdp)     | Connect to a remote PDP server via HTTP  |\n\n### Spring Security\n\n| Demo                                                         | Description                                             |\n|--------------------------------------------------------------|---------------------------------------------------------|\n| [web-mvc-app](web-mvc-app)                                   | Method-level security annotations in Spring MVC         |\n| [webflux](webflux)                                           | Reactive method security with streaming PEP annotations |\n| [web-authorizationmanager](web-authorizationmanager)         | Filter chain authorization in Spring MVC                |\n| [webflux-authorizationmanager](webflux-authorizationmanager) | Filter chain authorization in WebFlux                   |\n\n### Database Query Rewriting\n\n| Demo                                                               | Description                              |\n|--------------------------------------------------------------------|------------------------------------------|\n| [queryrewriting-jpa](queryrewriting-jpa)                           | Row-level security with Spring Data JPA  |\n| [queryrewriting-sql-reactive](queryrewriting-sql-reactive)         | Row-level security with R2DBC            |\n| [queryrewriting-mongodb-reactive](queryrewriting-mongodb-reactive) | Row-level security with reactive MongoDB |\n\n### Integrations\n\n| Demo | Description |\n|------|-------------|\n| [mqtt](mqtt) | MQTT as a Policy Information Point for real-time attributes |\n| [oauth2-jwt](oauth2-jwt) | OAuth 2.0 / JWT integration with SAPL policies |\n\n### Policy Testing\n\n| Demo | Description |\n|------|-------------|\n| [test-dsl-junit](test-dsl-junit) | Test policies with .sapltest files and JUnit |\n| [test-dsl-programmatic](test-dsl-programmatic) | Programmatic test execution with PlainTestAdapter |\n| [test-fixture](test-fixture) | Java fluent API for policy testing |\n\n### Tools\n\n| Demo | Description |\n|------|-------------|\n| [editor-components](editor-components) | Vaadin-based SAPL policy editor components |\n\n## Prerequisites\n\nAll demos require:\n- JDK 21 or newer\n- Maven\n\nSome demos have additional requirements documented in their READMEs.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fheutelbeck%2Fsapl-demos","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fheutelbeck%2Fsapl-demos","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fheutelbeck%2Fsapl-demos/lists"}