Re: [sunxacml-discuss] Re:AttributeSelector Ussage
Brought to you by:
farrukh_najmi,
sethp
|
From: Prakash Y. <te...@gm...> - 2005-03-17 20:12:48
|
Seth/Muhammad, I was wondering if the implementation cannot check if there is a datatype handler registered and just invoke it for the AttributeSelector? Muhammad - do you see any issues in doing it this way? After all even in AttributeSelector we are(can) specify the DataType. prakash On Thu, 17 Mar 2005 15:46:42 +0100, Muhammad Masoom Alam <Muh...@ui...> wrote: > > Dear seth, > This email was that i posed on xacml user list , plz have a look > > > > > > Daniel - I think you missed Prakash's point. It's not that he wants > > AttributeSelector to return a generic DOM node, it's that he wants it to > > be able to use an arbitrary node as the root for some data, which may be a > > single value or may be mixed content. True, in the standard there are no > > datatypes that support this, but you can write a custom datatype (and > > custom functions) that do. When you do so, you can't select it with an > > AttributeSelector since that mechanism is restricted to work only with > > attributes/text/etc. > > what about my presented solution, like what are your comments ? > > <Apply FunctionId="SECTINO: Extract-parameter-from-request"> > <AttributeValue ="http://www.w3.org/2001/XMLSchema#string"> > > /Request/Action/Attribute[@AttributeID="p"]/AttributeValue/p/ID > </AttributeValue> > </Apply> > > > > in response the the request > <Request> > .. > .. > <Action> > <Attribute AttributeId="urn:oasis:names:tc:xacml:1.0:attribute:p" > DataType="http://www.w3.org/2001/XMLSchema#String"> > <AttributeValue DataType="http://www.w3.org/2001/XMLSchema#String"> > <p> > <iD>127Asbc </iD> > . > </p> > </AttributeValue> > </Attribute> > </Action> > . > . > </Request> > > since it deals with not only single values, but mixed contents agreed?? > what are the discrepencies in your opinion as you are the author of > sun-xacml implemenation, is this makes any conflict with your implemenations > functions by the way ??? > > regards > Muhammad. > |