[Registry-dev] Authentication and Authorization implementation

Chathura C. Ekanayake chathura at wso2.com
Sat Sep 29 01:31:56 PDT 2007


I have made the User Manager work with the HSQL in-memory database. But 
still we have to set the SQL file for the User Manager.
I think that is a simple task compared to setting up a database as 
previously required.

So, apart from that, now we can start the Registry without any database 
configuration!

We have to change the User Manager code to change that behavior. But we 
have to wait till the Identity Solution release for that.
Once that is done, I will commit the HSQL code to UM and work with 
Dimuthu to avoid always specifying a SQL file.

Most of the time SQL statements differ among databases only for creating 
tables.  SELECT, INSERT, UPDATE and DELETE do not vary
considerably (at least I used same set of statements for HSQL, Derby and 
MySQL). Therefore, I think we can make the UM interact with
database using hard coded set of statements by default. And make it read 
the statements from a file only if a file is explicitly specified.

Thanks,
Chathura

Sanjiva Weerawarana wrote:
> Keith Chapman wrote:
>> If its that critical I'm sure the mashup guys (Including me) can 
>> offer some help with regard to this. I'll try and get it going on my 
>> local machine too so that I can offer some help.
>
> Excellent! It is critical .. first impressions matter a lot and we 
> don't have a lot of time to wrap up the basic, but polished and slick, 
> interface. That'll also exercise the registry code more - esp. the 
> search capabilities.
>
> Chathura, are you on schedule to implement the search stuff in time?? 
> What I suggest is you do a first cut with whatever assumptions needed 
> (for media types of queries etc.) and then we refine it. We've had 
> enough theoretical debate about the topic ;-). A lot of the 
> interesting UI features will come from custom queries and not standard 
> API calls.
>
> Let's get Jonathan hooked up too quickly! I built the code on my 
> machine but haven't had a chance to test it out and play with it.
>
> Thanks,
>
> Sanjiva.




More information about the Registry-dev mailing list