[jira] [Commented] (OFBIZ-5585) multitenant supports tenant selection based on server/domain name

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Commented] (OFBIZ-5585) multitenant supports tenant selection based on server/domain name

Nicolas Malin (Jira)

    [ https://issues.apache.org/jira/browse/OFBIZ-5585?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13940770#comment-13940770 ]

Wai commented on OFBIZ-5585:
----------------------------

Pierre,

My understanding of your setup is as follows.

You have an ofbiz deployment providing multitenancy.
Some components of your ofbiz setup have been marked via entityDelegatorName param in web.xml to permit only incoming requests belonging to a particular tenant. All other tenants accessing the said components are rejected.
The marked component's entityDelegatorName is given a value of tenantId+delegatorId

1) Are you using some custom code in your version of ofbiz to compare the tenantId found in entityDelegatorName and the tenant associated with the incoming request to decide whether to accept or deny the request.

2) Or, are you using the ofbiztenant.TENANT_COMPONENT table to perform this check.


Unfortunately, my modification will not work for you.  When time permits, I shall make the necessary correction with your setup in mind and submit another patch.

Wai

> multitenant supports tenant selection based on server/domain name
> -----------------------------------------------------------------
>
>                 Key: OFBIZ-5585
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-5585
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: ALL COMPONENTS
>            Reporter: Wai
>         Attachments: ofbiz-multitenant.patch
>
>
> A user can now select one or the other in multitenant mode
> 1) Select a tenant by explicitly specifying the tenantId in the login page (previously implemented)
> 2) Assign a domain name to each tenant.  Hence, the user does not need to explicitly enter the tenantId.  The domain name will automatically select the tenant.



--
This message was sent by Atlassian JIRA
(v6.2#6252)