Hi,

On Mon, May 13, 2013 at 11:59 AM, Pushpalanka Jayawardhana
<[email protected]>wrote:

> Hi All,
>
> Here is the revised design after considering the discussed facts. Please
> correct me if I have got them wrong.
>
> [image: Inline image 2]
> Here are the findings of a quick research as relevant for point 1 and 2 in
> the figure
>



> 1.  - Notify of a change in the file in the folder 'userstore' so that
> update can happen to RealmConfig. This will be the most effective way to do
> this. Can be achieved with 'java.nio.file' package, easily. But only
> available with Java 7.
>      - Use 'org.apache.commons.vfs2' package which is already a dependency
> of platform. This uses polling. Polling period can be configured. This will
> be the option to go for.
> (As user store configuration is not going to happen frequently, most of
> the polling efforts will be of no use. The value it brings is to allow the
> users edit user-mgt.xml without using the UI.)
>
Guess, we have to drop the new user-store config to tenant qualified
directory, similar to proxy services/.aar files etc.
btw, any reason, not to use axis2Deployer mechanism ?

thanks,
--Pradeep




>
> 2.  - Updating the properties of user-mgt.xml will be done using
> DOM+XPath. Hope using DOM is OK as the file is of 20KB by default and less
> likely to be a big file.
>
> Value any feedbacks on this.
> I am moving forward with retrieving and updating details of relevant OSGI
> runtime objects.
>
> Thanks,
>
> Pushpalanka Jayawardhana
>
> Software Engineer
>
> WSO2 Lanka (pvt) Ltd
> [image: 
> Facebook]<http://s.wisestamp.com/links?url=http%3A%2F%2Fwww.facebook.com%2Fpushpalanka>
>  [image:
> Twitter]<http://s.wisestamp.com/links?url=http%3A%2F%2Ftwitter.com%2FPushpalanka>
>  [image:
> LinkedIn]<http://s.wisestamp.com/links?url=http%3A%2F%2Fwww.linkedin.com%2Fprofile%2Fview%3Fid%3D75175642%26trk%3Dtab_pro>
>  [image:
> Blogger]<http://s.wisestamp.com/links?url=http%3A%2F%2Fpushpalankajaya.blogspot.com%2F>
>  [image:
> SlideShare]<http://s.wisestamp.com/links?url=http%3A%2F%2Fwww.slideshare.net%2FPushpalanka>
> Mobile: +94779716248
> <http://s.wisestamp.com/links?url=http%3A%2F%2Fr1.wisestamp.com%2Fr%2Flanding%3Fu%3Dc984892c0c4ca423%26v%3D3.13.2%26t%3D1361257731639%26promo%3D10%26dest%3Dhttp%253A%252F%252Fwww.wisestamp.com%252Femail-install%253Futm_source%253Dextension%2526utm_medium%253Demail%2526utm_campaign%253Dpromo_10>
>
>

<<revised2.png>>

_______________________________________________
Architecture mailing list
[email protected]
https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture

Reply via email to