
foojay · 14 min readDeveloper tools & productivity
An Introduction to OpenID AuthZEN and authzen-enforcer, a Java SDK
AuthZEN standardizes authorization communication between Policy Decision Points and Policy Enforcement Points, enabling vendor‑agnostic enforcement. The article explains the AuthZEN spec, its request/response model, and shows how to use the Java SDK authzen-enforcer in Spring Boot. It demonstrates single, batch, and search evaluation patterns.
- AuthZEN defines a minimal JSON request with subject, action, resource, and optional context for authorization queries.
- The SDK supports batch evaluations with deny_on_first_deny or permit_on_first_permit semantics for efficient bulk operations.
- PEPs discover PDP endpoints via /.well-known/authzen-configuration, simplifying integration across different PDPs.