Hi all,

As a part of the REST API for IS AZaaS, i'm in the process of parsing JSON
XACML 3.0 requests into the Balana RequestCtx Objects [1], thus allowing me
to directly evaluate them using the engine. In that process, according to
the JSON profile of XACML 3.0 [2], it is stated that the content section of
 request should be converted sent as either a Base64 string or escaped XML
String.

By that the XML String is obtained, yet the Balana Attributes object [3]
only accepts type 'Node' as content. Thus I'm in search for a way of
parsing a XML String to Balana Node object, hopefully using an existing
method in the engine.

Please let me know if there's any or any pointers I can work on.

Thank You
Best Regards,
Manujith


[1]
https://github.com/wso2/balana/blob/master/modules/balana-core/src/main/java/org/wso2/balana/ctx/xacml3/RequestCtx.java
[2]
http://docs.oasis-open.org/xacml/xacml-json-http/v1.0/xacml-json-http-v1.0.html
[3]
https://github.com/wso2/balana/blob/master/modules/balana-core/src/main/java/org/wso2/balana/xacml3/Attributes.java

-- 



Manujith Pallewatte
[image: https://]about.me/manzzup
<https://about.me/manzzup?promo=email_sig&utm_source=email_sig&utm_medium=external_link&utm_campaign=chrome_ext>
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to