rest - Determining URLs for URI specified in XACML 3.0 specification -


currently i'm working on project exposes xacml pdp rest api. allow clients send rest requests containing various xacml request related properties , retrieve decisions on them.

i have implemented services, need align rest endpoints correctly defined in rest specification xacml 3.0 (http://docs.oasis-open.org/xacml/xacml-rest/v1.0/csprd03/xacml-rest-v1.0-csprd03.html)

in document, defines various uris each resource

ex: rest entry point uri (as in section 2.2.1) urn:oasis:names:tc:xacml:3.0:profile:rest:home

what need know corresponding url uri

assuming service hosted in https://example.com/xacml

is https://example.com/xacml/home ?

thank you

according rest profile of xacml (you can tweet author), there several endpoints need support:

  • entry point (identified urn:oasis:names:tc:xacml:3.0:profile:rest:home): root of web service. in case, https://example.com/xacml or perhaps https://example.com/xacml/api (if wanted have ui of kind @ top-level)
  • the pdp (identified urn:oasis:names:tc:xacml:3.0:profile:rest:pdp): send xacml requests to. in axiomatics policy server, <host>:<port>/asm-pdp/authorize

when send request home endpoint, replies with:

<?xml version="1.0"?><resources xmlns="http://ietf.org/ns/home-documents"     xmlns:atom="http://www.w3.org/2005/atom">   <resource rel="http://docs.oasis-open.org/ns/xacml/relation/pdp">     <atom:link href="/asm-pdp/authorize"/>   </resource> </resources> 

hth, david.


Comments

Popular posts from this blog

java - Static nested class instance -

c# - Bluetooth LE CanUpdate Characteristic property -

JavaScript - Replace variable from string in all occurrences -