"Kumar, Ashok" wrote:
> Hi All
>
> I downloaded and Build the slide.war file and deployed it in the
> Tomcat4.0 b7.
> When I used the slide client I am able to retrieve the docs with Get
> statement.
> PUT statement is not working. So I set the security-constraint.
> Now all the OPTIONS (GET PUT ... ) giving message unauthorised. What
> else has to be done
> in Domain.xml to go on as a user, or root?
> should we need a directory called users ??
1) if you want to upload files without logging in, you have to give more
permissions to guest
add the following line in domain.xml
<permission action="/actions" subject="/users/guest"/>
after:
<objectnode classname="org.apache.slide.structure.SubjectNode"
uri="/files">
2) if you want to use security you also have to define a user (that is
known in slide)
in the tomcat-users.xml in addition to enabling the security-constraint.
<user name="john" password="john" roles="user" />
3) or you can integrate the slide user realm with tomcat4
see website for instructions.
Dirk