Git Product home page Git Product logo

sapl-demos's Introduction

Build Status

SAPL Demo Projects

** Attention ** The build of the sapl-demo-ethereum module may fail if this web service of web3labs.com is unreachable. In this case copy the file ' sapl-demo-ethereum/src/main/solc/releases.json to ~/.web3j/solc.

This project contains some demo modules demonstrating the usage of the SAPL engine. A good point to start exploring SAPL is by running and experimenting with modifying these demo projects.

If you are interested in how SAPL would be used in an application, you should take a look at sapl-demo-mvc-app and sapl-demo-webflux.

If you want to get familiar with using a PDP directly, start with sapl-demo-embedded.

After that pick a demo that matches your interest.

  • sapl-demo-webflux: Demonstrates how to hook a SAPL PEP into method security with Spring Security and Webflux.

  • sapl-demo-webflux-filterchain: Demonstrates how to hook a SAPL PEP into the Spring Security reactive filter chain in Webflux.

  • sapl-demo-mvc-app: A full stack Spring MVC application secured with SAPL. Demonstrates non-reactive declarative Policy Enforcement Points via annotations.

  • sapl-demo-filterchain: Demonstrates how to hook a SAPL PEP into the Spring Security filter chain for non-reactive environments.

  • sapl-demo-embedded: Manually instantiating a SAPL Policy Decision Point (PDP) and basic PDP interaction. Reading policies from bundled resources or monitoring a file system.

  • sapl-demo-remote: Connect to a dedicated SAPL PDP Server.

  • sapl-demo-extension: Write a custom Policy Information Point (PIP) and function library to extend SAPL with custom attributes and functions.

  • sapl-demo-jwt: A resource server secured with OAuth 2.0, JSON Web Tokens (JWT) and SAPL, with a matching OAuth authorization server and client application.

  • sapl-demo-ethereum: Demonstrates how to use the Ethereum Blockchain as a Policy Information Point.

  • sapl-demo-web-editor: Demonstrates the Vaadin-based SAPL policy editor component.

  • sapl-demo-playground: An integrated policy testing and learning application. Also see https://playground.sapl.io/ for a deployed version ready to use.

  • sapl-demo-testing: Demonstrates how to test SAPL policies with unit tests, including test code coverage reports.

  • sapl-demo-mqtt-pep: Demonstrates how to authorize MQTT subscriptions and publish messages with a Policy Enforcement Point.

  • sapl-demo-mqtt-pip: Demonstrates how to evaluate MQTT messages with a Policy Information Point.

sapl-demos's People

Contributors

heutelbeck avatar fsiegrist avatar benediktheinrich avatar joe-baudisch avatar nniikkoollaaii avatar dmavrudis avatar danieltschmidt avatar nipahu avatar danielicious avatar marclbaur avatar mariusmueller90 avatar julianwalkerfp avatar nils4444 avatar zweihaxen avatar dependabot[bot] avatar mschweyen avatar dbfuh avatar wolfmatth avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.