On further investigation of the problem described below I observed that the
default users(root, guest) are being created. Sorry.. I was confused on the
first look at the URI table which had some nos (i.e. /1087541713531.0) in
the URI_STRING column instead of "/users" as in case of ExtendedStore. 

But this still leaves me with the problem of auto-create-users. This
functionality is not working with BindingStore. I observed that the new
users are being created in the URI table but the BINDING and PARENT_BINDING
tables are not being updated. Has anyone faced similar problem? I am using
Slide 2.1M1 with Oracle Store.

If it would be helpful: I debugged the code path on making an OPTIONS method
call to the Slide server with a new user. Here are my findings: The first
time the getPrincipal(SlideToken token) method is invoked on SecurityImpl,
the code path for creating a new user is entered since auto-create-users is
true. The *children* vector contains the newly added user and the
parentUri.getStore().storeObject(parentUri, object) call returns fine. When
the Slide server method returns, the URI table contains the new user entry
but the Parent_Binding and Binding tables do not have new entries for the
new user.   
Also via the code path(StandardRDBMSAdapter.storeObject(Connection, URI,
ObjectNode, boolean)) the bindings including the new user are being inserted
for "/users"... However the DB does not show those inserts on server call
return. Any idea of what could be going wrong?

Thanks for help,
Regards,
Ritu



-----Original Message-----
From: Ritu Kedia [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 17, 2004 5:56 PM
To: Slide Users Mailing List (E-mail)
Subject: Default Users not being created on first deployment when using
Bi ndingStore


Has anyone faced a problem with default user creation when using
BindingStore?

I switched from ExtendedStore to BindingStore... I deleted the Slide DB
Schema (Oracle) and recreated it. Modified my store classname to use
BindingStore. On Server deployment, the Initialization went through fine and
default roles and actions were created but the default users were not
created. I am getting a "Conflict 409" error on performing any action (e.g.
MKCOL). Could anyone please point what am I doing wrong. Note that
everything works fine with ExtendedStore. I am using Slide 2.1 M1.

Thanks for any help,
Regards,
Ritu





---------------------------------------------------------------------
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]

Reply via email to