hi remy,
   When i use SlideRealm to authenticate users and i try to login as user
john i am getting the following error message in the log .

      2001-10-04 10:50:40 Slide realm[]: User john doesn't have his password
property set : can't authenticate

   I do have the password property set for the user john in Domain.xml file.
It looks like there is a namespace problem      while the property value is
being retreived from the store. The namespace value of the password property
is set as "slide/"      in the Domain.xml file while SlideRealm uses the
NodeProperty.SLIDE_NAMESPACE value which is set as
      http://jakarta.apache.org/slide/ . So the password property is
returned as null and the user is denied access.

         thanks,
         rajkumar

-----Original Message-----
From: Remy Maucherat [mailto:[EMAIL PROTECTED]]
Sent: Thursday, October 04, 2001 10:30 AM
To: [EMAIL PROTECTED]
Subject: Re: multiple shared locks


> We have encountered problems with requesting 2 shared locks (Slide is used
> without security). Should following two lock tokens be compatible in the
> method LockImpl.isCompatible(...)?

If Token1 is already there, and you request token2, then it should fail
because you can't get the same lock twice. The problem is that it got
refused because of a lack of lock token, not because they were equal.

> Token1 = org.apache.slide.lock.NodeLock@5e0873
>    .getTypeUri    = /administration/security/actions/write
>    .getSubjectUri = /administration/security/users
>    .getObjectUri  = /files23/test.xml
>    .isExclusive   = false
> Token2 = org.apache.slide.lock.NodeLock@5e0873
>    .getTypeUri    = /administration/security/actions/write
>    .getSubjectUri = /administration/security/users
>    .getObjectUri  = /files23/test.xml
>    .isExclusive   = false
> C1:true
> C2:true
> C3:true
> C4:false
> C5:false
> C6:true
> Compatible:false

Remy

Reply via email to