{"id":20777779,"url":"https://github.com/fiware/tutorials.xacml-access-rules","last_synced_at":"2025-04-30T18:30:05.414Z","repository":{"id":40302770,"uuid":"162301235","full_name":"FIWARE/tutorials.XACML-Access-Rules","owner":"FIWARE","description":":closed_book: FIWARE 405: Ruleset Based Permissions","archived":false,"fork":false,"pushed_at":"2025-02-17T13:58:02.000Z","size":475,"stargazers_count":4,"open_issues_count":4,"forks_count":6,"subscribers_count":9,"default_branch":"master","last_synced_at":"2025-03-30T18:51:11.466Z","etag":null,"topics":["access-control","authzforce","fiware","pdp","security","tutorial","xacml","xacml-policies"],"latest_commit_sha":null,"homepage":"https://authzforce-ce-fiware.rtfd.io/","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/FIWARE.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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}},"created_at":"2018-12-18T14:34:40.000Z","updated_at":"2024-06-28T15:08:47.000Z","dependencies_parsed_at":"2023-11-16T11:39:40.725Z","dependency_job_id":"ff396e4e-ac4d-4554-9faa-a886549b53ed","html_url":"https://github.com/FIWARE/tutorials.XACML-Access-Rules","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FIWARE%2Ftutorials.XACML-Access-Rules","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FIWARE%2Ftutorials.XACML-Access-Rules/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FIWARE%2Ftutorials.XACML-Access-Rules/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FIWARE%2Ftutorials.XACML-Access-Rules/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/FIWARE","download_url":"https://codeload.github.com/FIWARE/tutorials.XACML-Access-Rules/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251760508,"owners_count":21639419,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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","authzforce","fiware","pdp","security","tutorial","xacml","xacml-policies"],"created_at":"2024-11-17T13:17:10.388Z","updated_at":"2025-04-30T18:30:05.382Z","avatar_url":"https://github.com/FIWARE.png","language":"Shell","readme":"[![FIWARE Banner](https://fiware.github.io/tutorials.XACML-Access-Rules/img/fiware.png)](https://www.fiware.org/developers)\n\n[![FIWARE Security](https://nexus.lab.fiware.org/repository/raw/public/badges/chapters/security.svg)](https://github.com/FIWARE/catalogue/blob/master/security/README.md)\n[![License: MIT](https://img.shields.io/github/license/fiware/tutorials.XACML-Access-Rules.svg)](https://opensource.org/licenses/MIT)\n[![Support badge](https://img.shields.io/badge/tag-fiware-orange.svg?logo=stackoverflow)](https://stackoverflow.com/questions/tagged/fiware)\n[![XACML 3.0](https://img.shields.io/badge/XACML-3.0-ff7059.svg)](https://docs.oasis-open.org/xacml/3.0/xacml-3.0-core-spec-os-en.html)\n\nThis tutorial introduces an additional security generic enabler - **Authzforce** and adds fine grained control to the\nsecurity rules generated by **Keyrock**. Access to the entities created in the\n[previous tutorial](https://github.com/FIWARE/tutorials.PEP-Proxy) is now configured and controlled using an XACML\naccess control policy - this creates a flexible ruleset which can be uploaded and reinterpreted on the fly so complex\nbusiness rules can be created and changed according to current circumstances.\n\nThe tutorial discusses code showing how to integrate **Authzforce** within a web application and demonstrates examples\nof **Authzforce** XACML Server-PDP interactions. [cUrl](https://ec.haxx.se/) commands are used to show the interactions\nbetween generic enablers. [Postman documentation](https://www.postman.com/downloads/) is also available.\n\n\n# Start-Up\n\n## NGSI-v2 Smart Supermarket\n\n**NGSI-v2** offers JSON based interoperability used in individual Smart Systems. To run this tutorial with **NGSI-v2**, use the `NGSI-v2` branch.\n\n```console\ngit clone https://github.com/FIWARE/tutorials.XACML-Access-Rules.git\ncd tutorials.XACML-Access-Rules\ngit checkout NGSI-v2\n\n./services create\n./services start\n```\n\n| [![NGSI v2](https://img.shields.io/badge/NGSI-v2-5dc0cf.svg)](https://fiware-ges.github.io/orion/api/v2/stable/) | :books: [Documentation](https://github.com/FIWARE/tutorials.XACML-Access-Rules/tree/NGSI-v2) | \u003cimg src=\"https://cdn.jsdelivr.net/npm/simple-icons@v3/icons/postman.svg\" height=\"15\" width=\"15\"\u003e [Postman Collection](https://fiware.github.io/tutorials.XACML-Access-Rules/) |  ![](https://img.shields.io/github/last-commit/fiware/tutorials.XACML-Access-Rules/NGSI-v2)\n| --- | --- | --- | ---\n\n---\n\n## License\n\n[MIT](LICENSE) © 2018-2024 FIWARE Foundation e.V.\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffiware%2Ftutorials.xacml-access-rules","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffiware%2Ftutorials.xacml-access-rules","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffiware%2Ftutorials.xacml-access-rules/lists"}