[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: XACML adding new functions


xacml example
Natalie,

I don't believe that the XACML 1.0 spec is clear on this issue; so you
may simply use your own URN. I would recommend, however, that you
clarify this with the XACML TC on their comments listserv [1].

In terms of URN format/contents, the XACML spec uses an "example" URN
quite frequently - for example:

urn:oasis:names:tc:xacml:1.0:example:SimpleRule1
urn:oasis:names:tc:xacml:example:obligation:email

So you may want to follow this same "convention" and use a URN of the
format:

urn:oasis:names:tc:xacml:1.0:example:function:your-function-name

There are several references in the XACML 1.0 spec that mention this
issue, but they do not address extension URNs - they are:

(1) Lines 3550-3555:

"In addition, functions that are strictly within an extension to XACML
MAY appear as a value for the MatchId attribute, and those functions MAY
use data-types that are also extensions, so long as the extension
function returns a boolean result and takes an attribute value as its
first argument and an <AttributeDesignator> or <AttributeSelector> as
its second argument. The function used as the value for the MatchId
attribute SHOULD be easily indexable. Use of non-indexable or complex
functions may prevent efficient evaluation of decision requests."

(2) Lines 4397-4399:

"Functions and primitive types are specified by string identifiers
allowing for the introduction of functions in addition to those
specified by XACML. This approach allows one to extend the XACML
module with special functions and special primitive data-types."

Hope that helps.

Kind Regards,
Joe Chiusano
Booz | Allen | Hamilton

[1] mailto:xacml-comment@l...

Natalie.Krainski@i... wrote:
> 
> Hi,
> 
> I don't know if this is the right place to go with my problem, but I think
> it's worth trying.
> I wanted to add a new function (such as string-equal) to my xml (xacml) -
> file. I've written the function in Java, as told at sourceforge.net. I think
> it works, but now I don't know how to integrate this function in my
> xml-file. What URI do I have to use?
> 
> I hope someone can help me?!
> thx, Natalie
> 
> -----------------------------------------------------------------
> The xml-dev list is sponsored by XML.org <http://www.xml.org>, an
> initiative of OASIS <http://www.oasis-open.org>
> 
> The list archives are at http://lists.xml.org/archives/xml-dev/
> 
> To subscribe or unsubscribe from this list use the subscription
> manager: <http://lists.xml.org/ob/adm.pl>
begin:vcard 
n:Chiusano;Joseph
tel;work:(703) 902-6923
x-mozilla-html:FALSE
url:www.bah.com
org:Booz | Allen | Hamilton;IT Digital Strategies Team
adr:;;8283 Greensboro Drive;McLean;VA;22012;
version:2.1
email;internet:chiusano_joseph@b...
title:Senior Consultant
fn:Joseph M. Chiusano
end:vcard

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.