You are viewing a plain text version of this content. The canonical link for it is here.
Posted to slide-dev@jakarta.apache.org by Werner Masik <we...@gefi.at> on 2003/12/09 20:42:45 UTC

GroupNode causes ClassCastException

Hi!

I'm using the CVS-Version of slide (early december). I wanted to create 
some groups with users. But I just get a ClassCastException (see below). 
What should be used for creating groups:
- a SubjectNode? (has the GroupNode concept been dropped?)
- use roles instead of groups?

09 Dec 2003 21:29:39 - org.apache.slide.webdav.WebdavServlet - ERROR - java.lang.ClassCastException
java.lang.ClassCastException at org.apache.slide.security.ACLSecurityImpl.matchSubject(ACLSecurityImpl.java:239)
        at org.apache.slide.security.ACLSecurityImpl.match(ACLSecurityImpl.java:217)


This is the groups config snip from domain.xml:

<objectnode classname="org.apache.slide.structure.GroupNode" uri="/users/GEFi">
                        <objectnode classname="org.apache.slide.structure.LinkNode" uri="/users/GEFi/werner" linkedUri="/users/werner" />
                        <objectnode classname="org.apache.slide.structure.LinkNode" uri="/users/GEFi/gernot" linkedUri="/users/gernot" />
                    </objectnode>
                    <objectnode classname="org.apache.slide.structure.GroupNode" uri="/users/Technikum">
                        <objectnode classname="org.apache.slide.structure.LinkNode" uri="/users/Technikum/cochlar" linkedUri="/users/cochlar" />
                    </objectnode>


BTW: I'm using the TxXMLFileDescriptorsStore.

Thanks, Werner



---------------------------------------------------------------------
To unsubscribe, e-mail: slide-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-dev-help@jakarta.apache.org