Hi Satish,
I am not very familiar with the ACL of Slide, sorry. :-(
But I know that the "password" property has the
namespace "http://jakarta
.apache.org/slide/" and not "DAV:" as the
others, so that may be one of your issues.
Remember that the users are in the "users"
directory (just substitute http://localhost:8090/sli
de for your configuration):
http://localho
st:8090/slide/users/john
Try giving that Url to your application, but I believe that
they are have "access denied" by default, so
through your application/code you have to authenticate. Try
using username "root" and pwd "root."
I am not sure if you are aware, but there is a GUI that
allows you to add users, groups and roles:
http://jakarta.apache.org/slide/howto-create-users.html
a>
There are also some links at the bottom of that page which
may guide you.
Sorry, but I could not give you much help on this one. :-(
Regards,
Zeus
----- Original Message ----
From: Satish <satish harbinger-systems.com>
To: Slide Users Mailing List <slide-user jakarta.apache.org>
Sent: Monday, May 7, 2007 11:32:41 AM
Subject: Re: Adding custom property to Slide content
Hi Zeus,
Do you have anyidea how can I read password of the user from
Slide.
I tried with propfind with password as name of property.
But I am unable to do so. Is namespace is any problem!
I need to write the generic function which can read peoperty
of any DAV
resource!
Can you please give any advice!!
Regards,
Satish
----- Original Message -----
From: "Zeus Courtois" <zeusorion yahoo.com>
To: "Slide Users Mailing List" <slide-user jakarta.apache.org>
Sent: Sunday, May 06, 2007 12:45 AM
Subject: Re: Adding custom property to Slide content
> Hi Satish,
>
> Ok, so it looks like you got pretty much everything.
>
> Here are the descriptions for the parameters that you
should be sending:
> /**
> * Execute PROPATCH method for this resource with
the given property.
> *
> * param propertyName the name of the property to set
> * param propertyValue the value of the property to set
> * If the proppatch action is being removed, the
value is null or any.
> * param action true if it's being set, false if it's
being removed
> * return true if the method is succeeded
> *
> exception HttpException
> * exception IOException
> */
> public boolean proppatchMethod(PropertyName
propertyName,
> String
propertyValue, boolean action)
> ...............
> . .................
> }
>
> You
> are right, the PropertyName would be "Label"
and the propertyValue is
> whatever value you would like to be associated with the
propertyName.
> For
> example, let's say that I would like to store a
property where I want
> to keep track of the country where a specific file was
last modified.
> Then, I would create a propertyName to be
"Country" and my "propertyValue"
would be
> "Germany."
> The
> last parameter, "boolean action" specifies
that either you would like
> to delete such property from the metadata (maybe you
don't need it
> anymore) or if you wish to add it--which in your case
you would set it
> to "true".
>
> Let me also send you a like of a quick program that I
found, may come in
handy:
>
http://mail-archives.apache.org/mod_mbox/jakarta-slide-us
er/200508.mbox/%3c64FC1A0768CD404AB3172B22D7B1B18E0278A147
a> MUCEXCMP02.erc.ge.com%3e
>
> Regards,
>
> Zeus
>
> ----- Original Message ----
> From: Satish <satish harbinger-systems.com>
> To: Slide Users Mailing List <slide-user jakarta.apache.org>
> Sent: Saturday, May 5, 2007 9:16:41 AM
> Subject: Re: Adding custom property to Slide content
>
> Hi Zeus,
>
> Thanks a lot for your reply and valuable suggestions,
really glad to see
> those!
>
> Currently I am using this proppatchMethod overload to
add new property and
> set the value:
>
> proppatchMethod(java.lang.String path, PropertyName
propertyName,
> java.lang.String propertyValue, boolean action)
>
> Here I assumed
> Parameter 2:
> PropertyName propertyName: Is the new property or
"Label" of file
>
> Paramter 3:
> java.lang.String propertyValue: Is the value need
to set to this
> property
>
> e.g Is created new property named "VERSION"
having value "1.0.0".
>
> I am bale to add the same perhaps could not able to
retrieve the same
using
> PropFind method.
>
> Do I misinterpreted Paramter 3; PropertyValue?
>
> If not why I need to add another property for storing
value?
>
> Thanks again for your valuable suggestion!
>
>
> Regards,
> Satish
>
>
> ----- Original Message -----
> From: "Zeus Courtois" <zeusorion yahoo.com>
> To: "Slide Users Mailing List"
<slide-user jakarta.apache.org>
> Sent: Saturday, May 05, 2007 9:33 PM
> Subject: Re: Adding custom property to Slide content
>
>
> > Hi Satish,
> >
> > You would use the propatch method from the API
where you could use
either
> a Property object, or two objects: one being the name
of the property
> ("Label") and another being the value. For
the value, I believe you may
have
> to html escape some of the characters if you are
submitting XML or HTML
> itself.
> >
> > Regards,
> >
> > Zeus
> >
> > ----- Original Message ----
> > From: Satish <satish harbinger-systems.com>
> > To: Slide Users Mailing List <slide-user jakarta.apache.org>
> > Sent: Saturday, May 5, 2007 5:49:08 AM
> > Subject: Adding custom property to Slide content
> >
> > Hi
> >
> > I need to add my own property like
"Label" to file uploaded on Slide.
> > I am merely cluless to about how to do that!
> >
> > Can any one tell me which API I should use from
the Slide Client API to
> set
> > and fetch the new property.
> >
> > This is really urgent, any help will be
appriciated by heart!
> >
> >
> > Thanks,
> > Satish
> >
> > Disclaimer:
> > This e-mail may contain Privileged/Confidential
information and is
> intended only for the individual(s) named. Any review,
retransmission,
> dissemination or other use of, or taking of any action
in reliance upon
this
> information by persons or entities other than the
intended recipient is
> prohibited. Please notify the sender, if you have
received this e-mail by
> mistake and delete it from your system. Information in
this message that
> does not relate to the official business of the company
shall be
understood
> as neither given nor endorsed by it. E-mail
transmission cannot be
> guaranteed to be secure or error-free. The sender does
not accept
liability
> for any errors or omissions in the contents of this
message which arise as
a
> result of e-mail transmission. If verification is
required please request
a
> hard-copy version. Visit us at http://www.harbinge
r-systems.com/
> >
> >
------------------------------------------------------------
---------
> > To unsubscribe, e-mail: slide-user-unsubscribe jakarta.apache.org
> > For additional commands, e-mail:
slide-user-help jakarta.apache.org
> >
> >
> >
> >
> >
> >
> >
> >
__________________________________________________
> > Do You Yahoo!?
> > Tired of spam? Yahoo! Mail has the best spam
protection around
> > http://mail.yahoo.com
>
> Disclaimer:
> This e-mail may contain Privileged/Confidential
information and is
intended only for the individual(s) named. Any review,
retransmission,
dissemination or other use of, or taking of any action in
reliance upon this
information by persons or entities other than the intended
recipient is
prohibited. Please notify the sender, if you have received
this e-mail by
mistake and delete it from your system. Information in this
message that
does not relate to the official business of the company
shall be understood
as neither given nor endorsed by it. E-mail transmission
cannot be
guaranteed to be secure or error-free. The sender does not
accept liability
for any errors or omissions in the contents of this message
which arise as a
result of e-mail transmission. If verification is required
please request a
hard-copy version. Visit us at http://www.harbinge
r-systems.com/
>
>
------------------------------------------------------------
---------
> To unsubscribe, e-mail: slide-user-unsubscribe jakarta.apache.org
> For additional commands, e-mail: slide-user-help jakarta.apache.org
>
>
>
>
>
>
>
>
>
>
____________________________________________________________
________________
________
> Expecting? Get great news right away with email
Auto-Check.
> Try the Yahoo! Mail Beta.
> http://advision.webevents.yahoo.com/mailbeta/newm
ail_tools.html
Disclaimer:
This e-mail may contain Privileged/Confidential information
and is intended only for the individual(s) named. Any
review, retransmission, dissemination or other use of, or
taking of any action in reliance upon this information by
persons or entities other than the intended recipient is
prohibited. Please notify the sender, if you have received
this e-mail by mistake and delete it from your system.
Information in this message that does not relate to the
official business of the company shall be understood as
neither given nor endorsed by it. E-mail transmission cannot
be guaranteed to be secure or error-free. The sender does
not accept liability for any errors or omissions in the
contents of this message which arise as a result of e-mail
transmission. If verification is required please request a
hard-copy version. Visit us at http://www.harbinge
r-systems.com/
------------------------------------------------------------
---------
To unsubscribe, e-mail: slide-user-unsubscribe jakarta.apache.org
For additional commands, e-mail: slide-user-help jakarta.apache.org
____________________________________________________________
________________________
Don't get soaked. Take a quick peak at the forecast
with the Yahoo! Search weather shortcut.
http://tools.search.yahoo.com/shortcuts/#loc_weather |