You are viewing a plain text version of this content. The canonical link for it is here.
Posted to slide-user@jakarta.apache.org by Kevin Ritter <ke...@jcafeinc.com> on 2001/12/11 04:05:40 UTC
SubjectNode vs GroupNode
Greetings,
I would like to know the difference between the use of
org.apache.slide.structure.SubjectNode and
org.apache.slide.structure.GroupNode classname attribute value for the
objectnode elements in the Slide.data file.
Specifically, I would like to know the strategy of when to use these
attribute values and when not too because the documentation that is provided
on the slide web site doesn't address this essential information. Believe
me, I'm not criticizing, but this would help me correctly configure an
implementation of slide.
Thank you in advance.
Kevin
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: SubjectNode vs GroupNode
Posted by Dirk Verbeeck <di...@pandora.be>.
A GroupNode represents a group of users and a subject is a single user.
A groupnode can contain group members (or better links to the actual
members)
Like in the default domain.xml:
<objectnode classname="org.apache.slide.structure.GroupNode"
uri="/users/groupA">
<objectnode classname="org.apache.slide.structure.LinkNode"
uri="/users/groupA/john" linkedUri="/users/john" />
<objectnode classname="org.apache.slide.structure.LinkNode"
uri="/users/groupA/root" linkedUri="/users/root" />
</objectnode>
If you have a security rule (acl) starting with a "+", the corresponding
object is fetched and if the object is a GroupNode then it is considered
as a group and the group members are also checked in the security check.
Dirk
Kevin Ritter wrote:
>
> Greetings,
>
> I would like to know the difference between the use of
> org.apache.slide.structure.SubjectNode and
> org.apache.slide.structure.GroupNode classname attribute value for the
> objectnode elements in the Slide.data file.
>
> Specifically, I would like to know the strategy of when to use these
> attribute values and when not too because the documentation that is provided
> on the slide web site doesn't address this essential information. Believe
> me, I'm not criticizing, but this would help me correctly configure an
> implementation of slide.
>
> Thank you in advance.
>
> Kevin
>
> --
> To unsubscribe, e-mail: <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>