org.ow2.authzforce:authzforce-ce-rest-api-model

AuthzForce CE - Generic REST API model for Authorization PDPs

License

License

GroupId

GroupId

org.ow2.authzforce
ArtifactId

ArtifactId

authzforce-ce-rest-api-model
Last Version

Last Version

6.0.0
Release Date

Release Date

Type

Type

jar
Description

Description

org.ow2.authzforce:authzforce-ce-rest-api-model
AuthzForce CE - Generic REST API model for Authorization PDPs
Project URL

Project URL

https://github.com/authzforce/rest-api-model
Source Code Management

Source Code Management

https://github.com/authzforce/rest-api-model

Download authzforce-ce-rest-api-model

How to add to project

<!-- https://jarcasting.com/artifacts/org.ow2.authzforce/authzforce-ce-rest-api-model/ -->
<dependency>
    <groupId>org.ow2.authzforce</groupId>
    <artifactId>authzforce-ce-rest-api-model</artifactId>
    <version>6.0.0</version>
</dependency>
// https://jarcasting.com/artifacts/org.ow2.authzforce/authzforce-ce-rest-api-model/
implementation 'org.ow2.authzforce:authzforce-ce-rest-api-model:6.0.0'
// https://jarcasting.com/artifacts/org.ow2.authzforce/authzforce-ce-rest-api-model/
implementation ("org.ow2.authzforce:authzforce-ce-rest-api-model:6.0.0")
'org.ow2.authzforce:authzforce-ce-rest-api-model:jar:6.0.0'
<dependency org="org.ow2.authzforce" name="authzforce-ce-rest-api-model" rev="6.0.0">
  <artifact name="authzforce-ce-rest-api-model" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.ow2.authzforce', module='authzforce-ce-rest-api-model', version='6.0.0')
)
libraryDependencies += "org.ow2.authzforce" % "authzforce-ce-rest-api-model" % "6.0.0"
[org.ow2.authzforce/authzforce-ce-rest-api-model "6.0.0"]

Dependencies

compile (5)

Group / Artifact Type Version
jakarta.ws.rs : jakarta.ws.rs-api jar 2.1.6
org.ow2.authzforce : authzforce-ce-atom-model jar 8.0.0
org.ow2.authzforce : authzforce-ce-xacml-model jar 8.0.0
org.ow2.authzforce : authzforce-ce-pdp-ext-model jar 8.0.0
org.json : json jar 20190722

test (5)

Group / Artifact Type Version
org.slf4j : jcl-over-slf4j jar 1.7.30
ch.qos.logback : logback-classic jar 1.2.3
org.apache.cxf : cxf-rt-rs-client jar 3.4.1
xml-resolver : xml-resolver jar 1.2
org.springframework : spring-context jar 5.2.10.RELEASE

Project Modules

There are no modules declared in this project.

Javadocs

This package includes a sample client code that shows how to to send a XACML request to the AuthzForce PDP API. This code is in the test class org.ow2.authzforce.rest.api.test in src/test/java.

If you are accessing an Authorization PDP implementation such as AuthzForce Server over SSL (HTTPS), configure the keystore (resp. truststore) location and password in configuration element keyManagers (resp. trustManagers) in file src/test/resources/cxfClient.xml. The keystore is the one that contains your own private key and the certificate that you use to authenticate to the server. The truststore is in src/test/resources, you may have to change to an absolute path for the truststore location, depending on where you execute the code from.

Now, you should be able to compile and run the main() of the AzClient class mentioned previously. If you are using an IDE such as Eclipse, you can import the project as Maven project (requires Eclipse maven plugin installed), right-click on the new project > Run as > maven generate-sources, configure the keystore as above, right-click on the AzClient.java and "Run as" > "Java Application".

org.ow2.authzforce

AuthzForce Community Edition

Open Source Attribute-Based Access Control (ABAC) framework compliant with OASIS XACML 3.0. Provides a policy engine library and a RESTful PAP/PDP API.

Versions

Version
6.0.0
5.7.0
5.6.0
5.5.0
5.4.0
5.3.1
5.3.0
5.2.0
5.1.2
5.1.1
5.1.0
5.0.0
4.3.0