[Registry-dev] User manager APIs to the registry

Chathura C. Ekanayake chathura at wso2.com
Tue Apr 8 05:35:47 PDT 2008


I have done some refactoring to the Registry classes with the new 
versioning and transaction implementations. Now API users only deal with 
the UserRegistry (not with the JDBCRegistry). And there is a method in 
the UserRegistry to get the UserRealm. This UserRealm is the authorizing 
realm of the owner of the UserRegistry. Therefore, user's authorizations 
are always checked before performing any registry or user store related 
action. I think this model is suitable for exposing the user management 
related functionality to API users. We can introduce the method

UserRealm getUserRealm()

to the Registry API to generalize this behavior. Then API users can get 
the UserRealm from the registry interface and deal with user management 
activities through that.

Thanks,
Chathura

Deepal Jayasinghe wrote:
> Hi Devs ,
>
> How about adding user management related functionality to the registry 
> API. Then we can expose all those via APP as well. At the moment I 
> have added adding users and adding user roles via the APP , but I 
> think it is more useful if we can add them to the registry API.
>
> Thank you!
> Deepal
>
>
> _______________________________________________
> Registry-dev mailing list
> Registry-dev at wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/registry-dev
>




More information about the Registry-dev mailing list