Skip to content

aserto-dev/java-authorizer

Repository files navigation

java-authorizer

slack

Generated Java gRPC bindings for the Aserto & Topaz Authorizer Service; these are low-level bindings.

For a more idiomatic development experience, we advise using the aserto-java and/or aserto-spring packages.

Warning

0.20.11 is the latest version published to maven central. Versions starting with 1.0.x have been removed from maven central and are no longer available for download.

Requirements

  • golang 1.22
  • maven
  • java 1.8 or newer

Building the project

Generate the java bindings from the proto files

mage generate

Build the maven package

mvn clean package

If you want to install the package to your local maven repository in order to include it in other projects

mvn clean install

Manually deploying to maven central

mvn clean deploy -Dgpg.passphrase="<gpg-passphrase>"

Quick start

See the examples page for a quick start guide on how to connect to topaz or to Aserto hosted authorizer.