Skip to content
@authzenenforcer

authzen-enforcer

Unofficial Java SDK acting as a Policy Enforcement Point (PEP) for the OpenID AuthZEN Authorization API. Zero-dependency core, Spring Boot starter.

authzen-enforcer

A Policy Enforcement Point for the OpenID AuthZEN Authorization API in Java.

Maven Central CI

Your application asks a Policy Decision Point (PDP) such as Keycloak, Cerbos or Topaz whether a caller may perform an action on a resource, and enforces the answer. authzen-enforcer is that enforcing side: a zero-dependency client for Java 17+ and a Spring Boot starter, fail-closed by default.

@CheckPermission                     // read on {type: "documents", id: <id>}, asked of the PDP
@GetMapping("/documents/{id}")
public Document getDocument(@PathVariable String id) { ... }
authzen:
  pdp:
    url: https://pdp.example.com     # the only required setting
Repository
authzen-enforcer The SDK: core client, Spring Boot starter, Micrometer and OpenTelemetry modules, docs
authzen-enforcer-examples Runnable examples against a containerized Keycloak PDP: plain Java and Spring Boot

Get involved: ask in Discussions, pick a good first issue, or see the contributing guide.

An independent project, not affiliated with or endorsed by the OpenID Foundation.

Popular repositories Loading

  1. authzen-enforcer authzen-enforcer Public

    Policy Enforcement Point for the OpenID AuthZEN Authorization API in Java: a zero-dependency client and a Spring Boot starter with @CheckPermission. Fail-closed by default. Unofficial.

    Java 9

  2. authzen-enforcer-examples authzen-enforcer-examples Public

    Runnable examples for authzen-enforcer, the Java SDK for the OpenID AuthZEN Authorization API: plain Java and Spring Boot (Spring MVC + Security) against a containerized Keycloak PDP. Unofficial.

    Java

  3. .github .github Public

Repositories

Showing 3 of 3 repositories

People

This organization has no public members. You must be a member to see who’s a part of this organization.

Top languages

Loading…

Most used topics

Loading…