{"id":24475367,"url":"https://github.com/authzforce/java-xacml-sdk","last_synced_at":"2025-04-13T13:07:20.158Z","repository":{"id":49964529,"uuid":"110723484","full_name":"authzforce/java-xacml-sdk","owner":"authzforce","description":"Java Client SDK for the AuthzForce Server","archived":false,"fork":false,"pushed_at":"2023-12-05T21:53:46.000Z","size":934,"stargazers_count":11,"open_issues_count":5,"forks_count":6,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-04-13T13:07:02.235Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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/authzforce.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-11-14T17:37:47.000Z","updated_at":"2024-04-16T07:45:50.000Z","dependencies_parsed_at":"2023-01-18T16:15:15.873Z","dependency_job_id":null,"html_url":"https://github.com/authzforce/java-xacml-sdk","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/authzforce%2Fjava-xacml-sdk","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/authzforce%2Fjava-xacml-sdk/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/authzforce%2Fjava-xacml-sdk/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/authzforce%2Fjava-xacml-sdk/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/authzforce","download_url":"https://codeload.github.com/authzforce/java-xacml-sdk/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248717242,"owners_count":21150389,"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":[],"created_at":"2025-01-21T09:14:35.357Z","updated_at":"2025-04-13T13:07:20.114Z","avatar_url":"https://github.com/authzforce.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"XACML SDK\n=========\n[![License: GPL v3](https://img.shields.io/badge/License-GPL%20v3-blue.svg)](https://www.gnu.org/licenses/gpl-3.0)\n[![Codacy Badge](https://api.codacy.com/project/badge/Grade/350fb29478014aec81bd6e28067e1355)](https://www.codacy.com/app/romain-ferrari/xacmlsdk?utm_source=tuleap.ow2.org\u0026amp;utm_medium=referral\u0026amp;utm_content=plugins/git/authzforce/xacmlsdk\u0026amp;utm_campaign=Badge_Grade)\n\nIncludes both the [Policy Decision Point (PDP)](https://authzforce-ce-fiware.readthedocs.io/en/latest/UserAndProgrammersGuide.html#policy-decision-api) and the [Policy Administration Point (PAP)](https://authzforce-ce-fiware.readthedocs.io/en/latest/UserAndProgrammersGuide.html#policy-administration-api) client SDKs\n\nQuick Start\n-----------\nIn the mean time, to use the library, you have to build it from source. \nTo do this follow the instructions below.\n\n### Prerequisites\n* [Git](https://git-scm.org)\n* [Maven](https://maven.apache.org/)\n\n### Setup\nClone this repository, install dependencies with mvn.\n\n```bash\ngit clone https://github.com/authzforce/xacml-sdk.git \u0026\u0026 cd xacmlsdk\nmvn compile -DskipTests=true -Dmaven.javadoc.skip=true -B -V\n```\n\nInstall the package within your own maven repository.\n```bash\nmvn install\n````\n\nYou can start using it inside your java project by adding the dependency to your pom file\n```xml\n\u003cdependency\u003e\n\t\u003cgroupId\u003ecom.thalesgroup.authzforce\u003c/groupId\u003e\n\t\u003cartifactId\u003exacml-sdk-pdp-rest-impl\u003c/artifactId\u003e\n\t\u003cversion\u003e5.0.0-SNAPSHOT\u003c/version\u003e\n\u003c/dependency\u003e\n````\nfor PDP actions\n\nor\n\n```xml\n\u003cdependency\u003e\n\t\u003cgroupId\u003ecom.thalesgroup.authzforce\u003c/groupId\u003e\n\t\u003cartifactId\u003exacml-sdk-pap-rest-impl\u003c/artifactId\u003e\n\t\u003cversion\u003e5.0.0-SNAPSHOT\u003c/version\u003e\n\u003c/dependency\u003e\n````\nfor PAP actions\n\nPDP vs PAP\n----------\n\nThe PDP provides an API for getting authorization decisions computed by a XACML-compliant access control engine. It supports the following actions\n\n* `getAuthz` to get the computed decision\n\nsee the [PDP samples](authzforce-xacmlsdk-samples/src/main/java/org/ow2/authzforce/sdk/pdp) for usage examples\n\nThe PAP provides API for managing XACML policies to be handled by the Authorization Service PDP. It supports the following actions\n\n* `getDomains` to list all domains in the access control engine\n* `getDomain` to get details on a given domain\n* `addDomain` to add a new domain\n* `deleteDomain` to remove a domain\n* `getPolicy` to get details on a policy set\n* `addPolicy` to add a policy set to a domain\n* `deletePolicy` to delete a policy set from a domain\n* `createSimplePolicy` to create (without saving to a domain, i.e. in memory only) a basic policy set based on the root policy. Intended to be used in conjunction with `addPolicy`\n\nsee the [PAP samples](authzforce-xacmlsdk-samples/src/main/java/org/ow2/authzforce/sdk/pap) for usage examples\n\nDevelopment\n-----------\nFor more information on contributing to AuthZForce, see `CONTRIBUTING.md`.\n\nFAQ\n-----------\nTODO\n\nLicense\n-------\n```\nAuthZForce CE-XACML SDK - Software Development Kit for AuthZForce authorization server\nCopyright (c) 2016 Thales Services\n\nThis program is free software: you can redistribute it and/or modify\nit under the terms of the GNU General Public License as published by\nthe Free Software Foundation, either version 3 of the License, or\n(at your option) any later version.\n\nThis program is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\nGNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License\nalong with this program.  If not, see http://www.gnu.org/licenses/.\n```\n\nReferences\n-----------\n* OASIS XACML 3.0: http://docs.oasis-open.org/xacml/3.0/xacml-3.0-core-spec-os-en.html\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fauthzforce%2Fjava-xacml-sdk","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fauthzforce%2Fjava-xacml-sdk","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fauthzforce%2Fjava-xacml-sdk/lists"}