Skip to content

steverc/webinos-policy

 
 

Repository files navigation

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

About

Webinos Policy Manager

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 56.0%
  • JavaScript 40.3%
  • CSS 1.4%
  • Python 1.1%
  • Other 1.2%