I'm currently working on an XAF application for performing management system appraisals for business process improvement initiatives. I am using Xafari to add various features, not provided by XAF, to my application. I'm new to Xafari so I'm still learning its capabilities. My question today is, What is the best approach, using Xafari components, to implement a multi-tenant Web SaaS application with the following features?
1. A user would login using standard authorization user name and password.
2. After logging in, the user would be associated with an organization, either automatically, or by entering a code (a guid) which identifies the organization.
3. A user can only access information related to their organization and their security system role.
Which Xafari components and best practices should I use to implement these features?
Thanks for your help.