Hi,

Thanks to Oliver Zeigermann, on my install (XP, Tomcat 5.0.19), the solution
was :
A) to update Domain.xml like this :
<objectnode classname="org.apache.slide.structure.SubjectNode"
uri="/users/root">
<revision>
<property namespace="http://jakarta.apache.org/slide/";
name="password">any_password_you_want</property>
</revision>
</objectnode>

B)To stop Tomcat, and remove the directory %CATALINA_HOME%\bin\store
as Oliver Zeigermann suggested.

BTW : After I posted my question to this list, I found this info  written
somewhere in the documentation, but I can't remember where... ;-) 

PS :
>ps - in Oliver's reply, uri="/conf/users/root" is incorrect. Should be
>ps uri="/users/root".

I think it was Juan reply in fact (see below). And I believe that all the
user creation process needs a global and complete explanation in a single
page (see the number of messages about this topic). I wonder why so much
info is disseminated on : http://jakarta.apache.org/slide/ , 
http://www.java-internals.com/code/slide/docs/conf-lib.html , 
and the slide-doc servlet of the distribution (which is pretty much like
http://jakarta.apache.org/slide/ but more up to date I suppose.


-----Message d'origine-----
De : Phillip Qin [mailto:[EMAIL PROTECTED]
Envoy� : vendredi 30 avril 2004 19:19
� : '[EMAIL PROTECTED]'
Objet : password in Domain.xml


I tried Oliver's solution. I still didn't need to enter a password in
Windows Explorer, browser or webdav client.

I tried

<![CDATA[passroot]]>
<![CDATA['passroot']]>
<![CDATA["passroot"]]>

None of them worked. What am I doing wrong?

Regards,
 
 
PQ
 
Going to war for peace is like having sex for virginity

----- Original Message -----
From: "Olivier CAUSSE" <[EMAIL PROTECTED]>
To: "'Slide Users Mailing List'" <[EMAIL PROTECTED]>
Sent: Wednesday, April 28, 2004 9:54 AM
Subject: SlideRealm - how to set a password in Domain.xml ?


> I could install SlideRealm for Tomcat 5. I wonder now how to define new
> users/passwords.
> The standard sample Domain.xml contains the following settings for the
root
> user.
>
>                     <objectnode
> classname="org.apache.slide.structure.SubjectNode" uri="/users/root">
>                         <revision>
>                             <property
> namespace="http://jakarta.apache.org/slide/"; name="password"/>
>                         </revision>
>                     </objectnode>
>
> The root user has no password value.
>
> I tried to add a password value this way :
>       <property namespace="http://jakarta.apache.org/slide/";
> name="password">passroot</property>
> as it is mentionned in
> http://www.mail-archive.com/[EMAIL PROTECTED]/msg04727.html
but
> it doesn't work.
>
> What is the correct syntax ?
>

     <objectnode classname="org.apache.slide.structure.SubjectNode"
uri="/conf/users/root">
      <revision>
       <property namespace="http://jakarta.apache.org/slide/";
name="password">
        <![CDATA[passroot]]>
       </property>
      </revision>
    </objectnode>

Regards,

Juan Andr�s.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to