Friday, February 28, 2003, 3:45:04 PM, you wrote:
AKM> +-------[ Dmitry Matveev ]----------------------
AKM> | Hello Andrew,
AKM> | Friday, February 28, 2003, 11:03:56 AM, you wrote:
| AKM>> Hello all,
| AKM>> | I have the following structure:
| AKM>> |
| AKM>> |
| AKM>> | acl_users are exUserFolders (pgAuthSource), which have diffrent Authentication Source,
| AKM>> | but the DB and Database Connection is the same.
| AKM>> |
| AKM>> | This theme does not work, when i try to identify in the folder2 in
| AKM>> | result authentication form of folder1 appears.
| AKM>> | What the problem is? How can I prevent it?
| AKM>> One problem is that the same username/password is available at a higher level.
AKM> | Sorry my first letter has mistake:
AKM> | /folder1
AKM> | acl_users (uses COOKIE-based authentication)
AKM> | /folder2
AKM> | acl_users (uses STANDARD basic authentication)
AKM> | The problem is that folders have diffrent typies of authentication
AKM> | folder2(standard basic authentication) and folder1 (uses
AKM> | cookie-based authentication). When i try to come in folder2 i waiting
AKM> | for standard basic authentication form, but cookie-based appears,
AKM> | the user name is unknown yet.
AKM> Well Folder2 itself is protected by Folder1s acl_users.
AKM> Only things below Folder2 are protected by Folder2s acl_users.
AKM> I'm not sure why you'd want this particular layout.
AKM> This is how it works.
AKM> When something is detected as being unauthorized, the acl_users are chained
AKM> back to the root looking for one that will accept your credentials (if any,
AKM> including cookies). If one can't be found then the nearest acl_users above the
AKM> objects physical position in the ZODB is queried.
AKM> So if you're going to /folder1/folder2/ then Folder1/acl_users will be
AKM> triggered. If you're going to /Folder1/Folder2/some_thing then
AKM> /Folder2/acl_users will be triggered.
AKM> If this isn't the case, then we need to look at what XUF is doing to make sure
AKM> it's not an XUF bug.
When I change the authentication type of folder1 and both folders
became with STANDARD basic authentication the problem is solved, on each level
corresponding acl_users works.
But this solution does not suit me?
Best regards, http://www.uralfirm.ru
Dmitry Matveev mailto:matveev@...