Spring boot application with trending reactive webflux and webclient for RESTful API along with powerful spring security, jwt for authentication and OPA(Open Policy Agent) for authorization.
-
Updated
Jun 4, 2024 - Java
The Open Policy Agent (OPA, pronounced “oh-pa”) is an open source, general-purpose policy engine that unifies policy enforcement across the stack. OPA provides a high-level declarative language that lets you specify policy as code and simple APIs to offload policy decision-making from your software. You can use OPA to enforce policies in microservices, Kubernetes, CI/CD pipelines, API gateways, and more.
What is OPA
Spring boot application with trending reactive webflux and webclient for RESTful API along with powerful spring security, jwt for authentication and OPA(Open Policy Agent) for authorization.
OPA bundle provider and consumer application with OPA Side car.
This is an example implementation of a Spring Boot AI Chat Agent that uses the open-policy-ai-advisor-spring-boot-starter to enforce governance and policy-driven guardrails. By integrating Open Policy Agent (OPA), this agent can evaluate prompts and tool calls against custom Rego policies before they ever reach the LLM.
Open Policy AI Advisor is a Spring Boot starter that integrates Open Policy Agent (OPA) for policy evaluation and enforcement in your applications. This starter simplifies the process of adding open policy-based advisors capabilities to your AI chat client.
Explore the "Spring Boot-OPA Demo Project," showcasing seamless integration of OPAL with Spring Boot. Witness real-time policy evaluation, fine-grained access control, and easy policy management, empowering you to build secure and scalable applications effortlessly.
Checks the syntax of openpolicyagent's policy files (.rego)
Policy-as-code access control backend for AI agents with OPA integration, fallback logic, and audit logging.
User Management Application with Spring Framework
Showcase for "Policy-as-Code for Cloud-Native Applications with OPA"
Collection of demos for the OPA SDKs
A Policy Enforcement Point (PEP) library for Spring Boot applications that provides fine-grained access control through Spring Security's method security (@PreAuthorize, @PostAuthorize).
Demonstrates the authorization of a REST API with Open Policy Agent (OPA) and Keycloak
Micronaut / OPA (Open Policy Agent) demo
Plugin adding various tasks to help out integrating Open Policy Agent (OPA) in Gradle builds.
A driver to connect via Java to Open Policy Agent (OPA) deployments.
Spring Boot library for enforcing authorization on Spring Data JPA and MongoDB by filtering data using the Open Policy Agent (OPA) partial evaluation feature.