Language SDKs and Clients

SAPL provides multiple ways to connect applications to a Policy Decision Point (PDP). This section covers the available client APIs and language SDKs.

Available Interfaces

  • Java API: A reactive API based on Project Reactor for embedding a PDP directly in Java applications or connecting to a remote PDP server. Spring Boot applications can use the SAPL starter for automatic configuration and Spring Security integration.
  • HTTP API: A network API for any programming language that can make HTTP requests. Supports both streaming (Server-Sent Events) and one-shot (JSON) endpoints.

Planned SDKs

  • C# / .NET SDK: For integrating SAPL authorization into .NET applications.
  • Python SDK: For integrating SAPL authorization into Python applications.

All client interfaces expose the same authorization semantics: single subscriptions (streaming and one-shot) and multi-subscriptions (streaming and one-shot batch).