Git Product home page Git Product logo

webinos-policy's Introduction

webinos-policy

A Nodejs XACML-like access control policy engine, developed as part of the webinos project.

Functionalty

  • Currently works with the webinos-pzp component
  • Provides a mediation interface, so that any component may defer decision to the access logic
  • Interprets a set of policy rules active on the PZP
  • Implement real-time policy enforcement (PEP) logic and enforce the constraints

Compilation

To compile the policy manager:

Linux/Mac:

npm install

Android:

ndk-build NDK_PROJECT_PATH=. NDK_APPLICATION_MK=Application.mk

Test

To test the policy manager:

Linux/Mac:

npm test

Scenarios related to tests in test/jasmine.scenarios/

  1. Pre-journey: 10 minutes before the journey

Helen and Eric are getting ready to visit Peter. Helen wants to ensure Eric has access to some videos for the journey.

  1. Stuck in traffic: 30 minutes into the journey

Helen’s car is stuck in traffic as she pulls onto motorway. Helen calls Peter to say she’s running late. Peter runs up KiF to see where Helen is.

  1. Service station: 2 hours into the journey

Helen has pulled into a service station for a comfort stop. Because Eric is bored of the videos and getting restless, Helen asks Peter to keep an eye on Eric. Peter decides to connect to Eric’s KiF session to play a card game.

and

  1. Motorway: 2.5 hours into the journey

Helen is distracting by how loud both Eric and Peter are. Helen turns towards the back-seat and, over the microphone, asks Peter to turn the speaker volume down.

  1. Country lane: 3 hours into the journey

There is only about an hour left, but Eric has become bored to the game and is becoming restless again. Helen asks Peter to put a video on for Eric. Peter can’t find anything on Helen’s iMac so selects a video for Peter from his own library.

and

webinos-policy's People

Contributors

smonteleone avatar ccameroni avatar steverc avatar tobyealden avatar valerio88 avatar habibvirji avatar aldafu avatar andreasbotsikas avatar cbotsikas avatar

Watchers

James Cloos avatar  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.