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 Olivier CAUSSE <OC...@sqli.com> on 2004/05/03 11:05:11 UTC
RE: password in Domain.xml
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:Phillip.Qin@shareowner.com]
Envoyé : vendredi 30 avril 2004 19:19
À : 'slide-user@jakarta.apache.org'
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" <OC...@sqli.com>
To: "'Slide Users Mailing List'" <sl...@jakarta.apache.org>
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/slide-user@jakarta.apache.org/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: slide-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-user-help@jakarta.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-user-help@jakarta.apache.org
Re: password in Domain.xml
Posted by Juan Andrés Bentancour <ja...@argentina.com>.
----- Original Message -----
From: "Olivier CAUSSE" <OC...@sqli.com>
To: "'Slide Users Mailing List'" <sl...@jakarta.apache.org>
Sent: Monday, May 03, 2004 6:05 AM
Subject: RE: password in Domain.xml
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".
you can use any URI, but, you must set at Domain.xml,
<!-- Paths configuration -->
<userspath>/conf/users</userspath>
<rolespath>/conf/roles</rolespath>
<actionspath>/conf/actions</actionspath>
<filespath>/archivos</filespath>
Regards,
Juan Andrés.
---------------------------------------------------------------------
To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-user-help@jakarta.apache.org