Thank you Daniel,
in my view it would be realy good to have this implicitly in slide.
We would have more information about the modification and i think this
wouldn't conflict with the rest of the notification functionality.
Best regards,
Zolt�n.
On Thu, 6 Jan 2005 14:27:37 +0100, Daniel Florey <[EMAIL PROTECTED]> wrote:
> You have to add the following method to the ContentEvent class:
>
> protected final static String PRINCIPAL = "principal";
>
> public String[][] getInformation() {
> return new String [][] { { URI_KEY, getUri() },
> { PRINCIPAL,
> getToken().getCredentialsToken().getPrincipal().getName() }
> };
> }
>
> After adding this to the Slide core the principal name will be available in
> the map that you get in the notify method.
> If this is of general interest I can add this to the Slide CVS head.
> Cheers,
> Daniel
>
> > -----Urspr�ngliche Nachricht-----
> > Von: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED]
> > Im Auftrag von Zolt�n L�rincz
> > Gesendet: Donnerstag, 6. Januar 2005 14:03
> > An: [email protected]
> > Betreff: WebDAV notifications
> >
> > Hello,
> >
> > i we are using slide (2.1rc1).
> >
> > Our application consist of the slide server and many java swing
> > clients using the slide webdavlib.
> > To syncronize the clients with the changes on the server we are using
> > the WebDAV notifications (NotificationListener, Subscriber classes).
> >
> > Is there a way to find out in the Subscriber.notify(String, Map)
> > method the user (href of the user) who did the modification ?
> >
> > Thanks,
> > Zolt�n.
> >
> > ---------------------------------------------------------------------
> > 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]