Jbossxacml-url

From TrustWiki

Jump to: navigation, search

JBoss XACML


About JBoss XACML
JBossXACML is a LGPL licensed product that implements the Oasis XACML v2.0 standard.
It contains the following:

1. JAXB v2.0 Object Model. This is useful for creating Policies and Request/Response Context for XACML without the use of XML files.
2. Oasis XACMLv2.0 Core Library.
3. Servlet that can take in a SOAP 1.1 Envelope carrying SAMLv2.0 payload with XACMLv2 access decision query.

References:
1. JBossXACMLWiki[1]
2. Announcement[2]
3. XACML Blog Posts[3]


Download
The library is downloadable here [4]


FAQ
1. How do I install Custom Attributes (Single Value and Multiple Value Attributes)?
There is a class called as org.jboss.security.xacml.core.PDPConfiguration which has the following methods:
public static void installSingleValueAttribute(String type)
public static void installMultiValueAttribute(String type)
Example:[5]
//Install Custom Attributes
PDPConfiguration.installSingleValueAttribute("urn:test:names:xacml:2.0:subject:ien");

Personal tools