multi-tenant

Multitenancy with Fluent nHibernate and Ninject. One Database per Tenant

我只是一个虾纸丫 提交于 2019-12-18 11:42:22
问题 I'm building a multi-tenant web application where for security concerns, we need to have one instance of the database per tenant. So I have a MainDB for authentication and many ClientDB for application data. I am using Asp.net MVC with Ninject and Fluent nHibernate. I have already setup my SessionFactory/Session/Repositories using Ninject and Fluent nHibernate in a Ninject Module at the start of the application. My sessions are PerRequestScope, as are repositories. My problem is now I need to

Running Google App Engine application on multiple customer domains

我与影子孤独终老i 提交于 2019-12-18 11:35:18
问题 I want to allow my company’s customers to integrate our Google App Engine application into their domains. For example, let’s say one customer owns the domain coolcustomer.com and wants to make our app accessible at service.coolcustomer.com . This article discusses how to set up multi-tenancy internally, but does not mention how to associate client domains with an app. Ideally, I’d like to allow customers to associate a sub-domain in a self-service manner. This, of course, brings up the issue

Writing a multi-tenant Rails 3 app for deployment on Heroku

为君一笑 提交于 2019-12-18 10:29:16
问题 I'm building a Rails 3 app for deployment on Heroku, and I'm wondering if there are any recommendations on how to handle multi-tenancy in my models. Half a year ago, there was a related question (#3776593) posted on here, but it didn't get many answers. I've also watched Guy Naor's presentation on writing multi-tenant applications with Rails, but it seems like 2 of the 3 proposed solutions wouldn't work on Heroku. I'd link to these, but new Stackoverflow users are limited to 2 hyperlinks. I

Multi-Tenancy with Spring + Hibernate: “SessionFactory configured for multi-tenancy, but no tenant identifier specified”

断了今生、忘了曾经 提交于 2019-12-17 22:39:57
问题 In a Spring 3 application, I'm trying to implement multi-tenancy via Hibernate 4's native MultiTenantConnectionProvider and CurrentTenantIdentifierResolver. I see that there was a problem with this in Hibernate 4.1.3, but I'm running 4.1.9 and still getting a similar exception: Caused by: org.hibernate.HibernateException: SessionFactory configured for multi-tenancy, but no tenant identifier specified at org.hibernate.internal.AbstractSessionImpl.<init>(AbstractSessionImpl.java:84) at org

Output cache for multi-tenant application, varying by hostname and culture

我怕爱的太早我们不能终老 提交于 2019-12-17 21:52:19
问题 I have a multi-tenant application in ASP.NET MVC. The instance of the application that will be served is function of the hostname alone (something along the lines of stackexchange, I suppose). Each instance of the application might have a different culture setting (even "auto", to read the browser's language and try to use it), and will be localized accordingly. In this situation, I'd like to do some output caching on some of my actions. So, my questions are: What are the possibilities to

Asp.net Core 2 enable multi tenancy using Identity Server 4

寵の児 提交于 2019-12-17 19:26:02
问题 I have an IDP (Identity Server 4) hosted with multiple bindings: auth.company1.com and auth.company2.com I also have an API protected from that IDP. So in order to access the API I need to get the access token from the IDP. This is configured at startup class at the API level like this: services.AddAuthentication("Bearer") .AddIdentityServerAuthentication(options => { options.Authority = "https://auth.company1.com/"; options.RequireHttpsMetadata = true; options.ApiName = "atb_api"; }); How

optimal architecture for multitenant application on django

左心房为你撑大大i 提交于 2019-12-17 08:03:22
问题 I've been brooding over the right/optimal way to create a multitenancy application based on Django. Some explanation: Application can be used by several tenants (tenant1, tenant2, ...,). All tenant-individual data has to be secured against access of other tenants (and their users). Optionally tenants can create additional custom-fields for application-objects. Of course, underlying hardware limits number of tenants on one "system". 1) Separating each tenant by e.g. sub-domain and using tenant

optimal architecture for multitenant application on django

吃可爱长大的小学妹 提交于 2019-12-17 08:01:02
问题 I've been brooding over the right/optimal way to create a multitenancy application based on Django. Some explanation: Application can be used by several tenants (tenant1, tenant2, ...,). All tenant-individual data has to be secured against access of other tenants (and their users). Optionally tenants can create additional custom-fields for application-objects. Of course, underlying hardware limits number of tenants on one "system". 1) Separating each tenant by e.g. sub-domain and using tenant

Log exceptions in separate files for each tenant in multi-tenancy architecture

馋奶兔 提交于 2019-12-14 01:27:36
问题 I having an application with multi-tenancy support, that is one server and multiple DB, there will be separate DB for each tenant. All the exceptions thrown in the application will be logged in one single log. The tenantID will be printed along with the exception. I would like to handle it in separate file, i.e for each tenant a separate log file. This will be helpful in identifying that this exception is caused because of the activity done by a user belonging to a particular tenant. Is there

Referencing a value from a spring config

不想你离开。 提交于 2019-12-13 19:31:45
问题 First a bit of setup info: I have a multi-tenant spring based application. The multi-tenant enabling library is an in-house developed tool where I work that I have to use. How it works is that there is an interceptor that sets in front of the servlet for the application. Upon a request hitting the servlet it loads a tenant specific spring config for "stuff" needed for the tenant specified on the url hitting the servlet. As stated, the above is just a bit of background. Now to the issue