@FunctionalInterface public interface TenantIdSetter
TenantContextProvider API. It allows us to set the
incoming from a cookie, HTTP header or SQS message tenantId. The setTenantId(java.lang.String) method is
expected to be called only once per work-context, for example in a Tomcat filter.| Modifier and Type | Method and Description |
|---|---|
void |
setTenantId(String tenantId)
This method allows us to set the incoming from a cookie, HTTP header or SQS
message
tenantId. |
void setTenantId(String tenantId)
tenantId. This method must be called once only per work-context,
for example in a Tomcat filter or similar, and should normally be invoked before a call to
TenantContextProvider.getTenantContext() occurs. If it is called more than once per WorkContext
it will throw a TenantContextException.tenantId - the tenant id, must not be nullCopyright © 2016 Atlassian. All rights reserved.