Configuration Reference
Version:5.5.0
Micronaut Multitenancy Config Properties
🔗Property | Type | Description |
---|---|---|
|
java.lang.String |
|
|
java.lang.String |
|
|
boolean |
Whether TenantPropagationHttpClientFilter should be enabled. Default value (false). |
|
java.lang.String |
Property | Type | Description |
---|---|---|
|
boolean |
Whether TenantResolverFilter should be enabled. Default value (true). |
|
java.lang.String |
Tenant Resolver filter processes only request paths matching this regular expression. Default Value: "^.*$" |
Property | Type | Description |
---|---|---|
|
java.lang.String |
System property name. Default value ("tenantId"). |
|
boolean |
Enable SystemPropertyTenantResolver. Default value (false). |
Property | Type | Description |
---|---|---|
|
boolean |
Enables HttpHeaderTenantWriter. Default value (false). |
|
java.lang.String |
Property | Type | Description |
---|---|---|
|
boolean |
Enables CookieTenantWriter. Default value (false). |
|
java.lang.String |
|
|
java.lang.String |
|
|
java.lang.String |
|
|
boolean |
|
|
boolean |
|
|
java.time.temporal.TemporalAmount |
|
|
Determines if this this Cookie can be sent along cross-site requests. For more information, please look <a href="https://tools.ietf.org/html/draft-ietf-httpbis-rfc6265bis-05">here</a> |
Property | Type | Description |
---|---|---|
|
java.lang.String |
The fixed tenant ID. Default value to ("DEFAULT"). |
|
boolean |
Enables FixedTenantResolver. Default value (false). |
Property | Type | Description |
---|---|---|
|
boolean |
Whether to enable CookieTenantResolver. Default value (false). |
|
java.lang.String |
Cookie name which should be used to resolve the tenant id from. Default value ("tenantId"). |
Property | Type | Description |
---|---|---|
|
boolean |
Enables SubdomainTenantResolver. Default value (false). |
Property | Type | Description |
---|---|---|
|
boolean |
Enables SessionTenantResolver. The default value (false). |
|
java.lang.String |
Session Attribute name. Default value ("tenantId") |
Property | Type | Description |
---|---|---|
|
boolean |
Enables HttpHeaderTenantResolver. Default value (false). |
|
java.lang.String |
Http Header name which should be used to resolve the tenant id from. Default value ("tenantId"). |
Property | Type | Description |
---|---|---|
|
boolean |
Enables PrincipalTenantResolver. The default enable is false. |