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 Sergiu Sebastian Dinca <Se...@etu.enseeiht.fr> on 2003/06/16 15:23:26 UTC

aclMethod - Not Implemented (501) ?

Hello!

When I try to do an aclMethod in my app I get status code 501 - Not Implemented... The source code looks like this:

            Ace[] ace=new Ace[1];
            ace[0]=new Ace(userName,false,false,false,null);
            Privilege priv=new Privilege("slide","read",null);
            ace[0].addPrivilege(priv);

            wR=new WebdavResource(getURL(hostName+"/files/pub/"));
            wR.aclMethod(hostName+"/files/pub/"+file.getName(),ace);

The aclMethod return false and wR.getStatusMessage() returns Not Implemented (501)... Any ideea why? Or it is just not implemented yet?

Thank you for your time.