[Registry-dev] Re: [mashup-dev] Refactoring of registry constructors

Sanjiva Weerawarana sanjiva at wso2.com
Mon Dec 17 08:33:09 PST 2007


Chathura C. Ekanayake wrote:
> 
> Hi Keith,
> 
> I understand that it is not a good practice to limit the use of Realm 
> interface. So I replaces the constructor parameters to use Realm 
> interface instead.
> 
> Idea of introducing a RegistryRealm is to limit some actions to maintain 
> registry user store in desired state.
> If you are using a different realm, you have take care of limiting such 
> actions on the user store.
> 
> Thanks for pointing this out.

Chathura, how about implementing the RegistryRealm as a filter? THat way 
you can internally say "new RegistryRealm (realm)" .. that way you can 
layer on whatever you want to do a front to the user-given realm.

Sanjiva.
-- 
Sanjiva Weerawarana, Ph.D.
Founder, Chairman & CEO; WSO2, Inc.; http://www.wso2.com/
email: sanjiva at wso2.com; cell: +1 650 265 8311 | +94 77 787 6880

"Oxygenating the Web Service Platform."



More information about the Registry-dev mailing list