1.2.8 • Published 3 years ago

luas v1.2.8

Weekly downloads
-
License
BSD-2-Clause-Free...
Repository
bitbucket
Last release
3 years ago

Luas

This is a Node.JS version PDP which accepts XACML request and generates XACML response

Installation

npm install

Using

  • Standard Usage: You can take a look at pdpImpl.js which is in xacml folder.

You can add your own attribute by inheriting from AttributeValue

  • Response Format: Response format is in JSON and the payload includes two objects. raw: provides more details about the response decision: this is a string to indicate if the request is Permit/Deny/Indenterminate/NotApplicable

Example

const PDP = require('luas');

(async () => { await PDP.loadPolicy('./policy.xml') const decision = await PDP.getDecision('./request.xml') console.log(decision) })();

1.2.8

3 years ago

1.2.3

3 years ago

1.2.0

4 years ago

1.2.2

3 years ago

1.2.1

3 years ago

1.0.12

5 years ago

1.0.11

5 years ago

1.0.9

5 years ago

1.0.8

5 years ago

1.0.7

5 years ago

1.0.10

5 years ago

1.0.6

6 years ago

1.0.5

6 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago