×

Plug and play multi tenancy support for cloud applications

  • US 10,728,342 B1
  • Filed: 06/30/2016
  • Issued: 07/28/2020
  • Est. Priority Date: 06/30/2016
  • Status: Active Grant
First Claim
Patent Images

1. A method for setting a tenant context for an application in a multi-tenancy environment, comprising:

  • identifying, by a multitenancy support module, a tenant identity of a tenant for a tenant request subsequent to a successful authentication of the tenant, wherein the tenant identity is included in the tenant request;

    setting, by the multitenancy support module, a tenant context for a first service of the application based on the identified tenant identity, wherein the application is not multitenancy-aware, wherein communication and data storage/retrieval protocols, including relational databases and in-memory database caching services, used by the first service of the application are hooked into by the multitenancy support module, and wherein the setting of the tenant context for the first service of the application comprises returning a database connection comprising a database server instance and a database schema associated with the tenant identity, wherein the setting of the tenant context for the first service further comprises returning to the first service a key value store connection comprising a key value store bucket and a key value store schema associated with the tenant identity; and

    in response to the first service of the application transmitting a message to a second service of the application using a messaging protocol, passing, by the multitenancy support module, the tenant context to the second service from the first service, wherein passing the tenant context further comprises;

    adding, by the multi-tenancy support module, the tenant identity to the message as a header at the first service, and recovering, by the multi-tenancy support module, the tenant identity from message at the second service.

View all claims
  • 4 Assignments
Timeline View
Assignment View
    ×
    ×