05.09.2001 10:07:24, Martin S�nder <[EMAIL PROTECTED]> wrote:
>Hi all,
>
>I use slide 1.0.14 the webdav servlet with tomcat 4.0 b7.
>To change the user password I create a second servlet.
>But the slide webdav servlet don't recognise the modification.
>If I restart tomcat the modification is actual.
>
>My code to change the password is:
>...
>CredentialsToken credToken = new CredentialsToken(new String("root"));
>SlideToken slideToken = new SlideToken(credToken);
>NodeRevisionDescriptors revisionDescriptors = content.retrieve(slideToken,
>"/users/test");
>NodeRevisionDescriptor revisionDescriptor = new NodeRevisionDescriptor(0);
>revisionDescriptor.setProperty("password", NodeProperty.SLIDE_NAMESPACE,
>"thePassword");
>content.create(slideToken,"/users/test", revisionDescriptor, null);
>...
>
>What can I do ?
Make sure that slide-kernel.jar is shared by both servlets, in case they are in
different web applications. With Tomcat4.0, the appropriate location is
$TOMCAT_HOME/lib, or if you want to use the SlideRealm you need to move almost
all of the slide JARs to $TOMCAT_HOME/common/lib anyway.
>
>Martin
>
>
-chris
_______________________________________________
/=/ cmlenz at gmx.de