Re: [Jsdsi-users] RE: Why?
Status: Pre-Alpha
Brought to you by:
sajma
From: Sameer A. <aj...@cs...> - 2004-03-22 15:28:50
|
We will *not* change JSDSI to support application-specific tags. The point of SPKI/SDSI's flexible tag design is to enable applications to design their own tag format and leverage JSDSI's existing tag semantics.=20 [I was even a bit wary about the "reverse prefix" tag (but I couldn't think of a way to simulate it using other tags).] Luis, I would suggest using a more explicit tag structure, so that you can extend it more easily in the future. For example: (tag (email (*set write sign send))) This is "extensible" because you can add other permissions to the set, yo= u can add fields to the "email" SimpleTag, and you can add other kinds of permissions to the tag: (tag (*set (email (*set write sign send edit) (to (list jsdsi-devel)) (file (*set read write) (*prefix /home/lpmbv)))) Here, I've added a "file" simple tag to the outer set, I've added an "edit" permission to the inner (email permission) set, and I've restricte= d the email permission to work only for letters to the jsdsi-devel list. Sameer > I see. > > I guess your (tag (* set "send email")) should really be something mroe > like: > > (tag email (* set write sign send)) > > Otherwise 'we' would need a way of getting application specific tags > 'into' the jsdsi 'framework'. > > > Sean > > > On Mon, 2004-03-22 at 13:49, Luis Pedro wrote: >> Sean, >> >> I agree with you. The problem here was that i used the first version >> of jsdsi with something that we call complexTags. That complex tags >> have atomic meaning, like: >> (tag (* set "send email")) means to do (tag (* write)), (tag (* >> sign)), (tag (* send)) >> And this is in a xml file(properties file), when the parse is done the >> set tags and all others are treated like this: >> if(x instanceof SetTag) >> yyyyyy >> If i use (tag write) wich is a StringTag then the parse is made but in >> the wrong way. Maybe one day, right now i don't have too much patient >> to change this one the application. I'll use the earlier SetTag or >> take the "if (e =3D=3D null || --> e.length < 2 <--)". >> >> But i'm the only one encharge of this...they are users and when that >> happened they were blocked the application went down :)))))) >> >> Thanks for your explanation >> >> -- Luis Pedro >> >> >> =BB -----Original Message----- >> =BB From: Sean Radford [mailto:sra...@ae...] >> =BB Sent: segunda-feira, 22 de Mar=E7o de 2004 13:07 >> =BB To: Luis Pedro >> =BB Cc: devel jsdsi >> =BB Subject: Re: Why? >> =BB >> =BB Luis, >> =BB >> =BB (tag (* set foo)) >> =BB >> =BB is exactly equivalent in meaning to: >> =BB >> =BB (tag foo) >> =BB >> =BB It was decided that allowing a SetTag to be empty or >> =BB contain only one element was non-sensical and so should be >> =BB disallowed - with any SetTag that would contain only 1 >> =BB element (resulting from intersection) to be 'converted' to >> =BB the the element itself. >> =BB >> =BB Sorry if it has caused you problems. >> =BB >> =BB Do people want to re-visit this issue? >> =BB >> =BB Sean >> =BB >> =BB On Mon, 2004-03-22 at 12:50, Luis Pedro wrote: >> =BB > Well, >> =BB > >> =BB > I remember, a little, of a discussion about the Tags. >> =BB This my sound >> =BB > stupid, but can any of u (Sean, Sameer) explain me why the >> SetTag =BB > needs at least 2 elements. >> =BB > >> =BB > I made an actualization of jsdsi on the application(here) =BB >> and because >> =BB > of that change it's all up side down :), i think i'm >> =BB gonna revert the process!! >> =BB > Some people here are beginning to cry :))))....they don't =BB >> know about >> =BB > the backup!! :))) >> =BB > >> =BB > -- Luis Pedro >> =BB -- >> =BB Dr. Sean Radford, MBBS, MSc >> =BB sra...@ae... >> =BB http://www.aegeus-technology.com >> =BB >> =BB > -- > Dr. Sean Radford, MBBS, MSc > sra...@ae... > http://www.aegeus-technology.com > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IBM Linux Tutorials > Free Linux tutorial presented by Daniel Robbins, President and CEO of > GenToo technologies. Learn everything from fundamentals to system > administration.http://ads.osdn.com/?ad_id=1470&alloc_id638&op=CCk > _______________________________________________ > Jsdsi-users mailing list > Jsd...@li... > https://lists.sourceforge.net/lists/listinfo/jsdsi-users http://ajmani.net |