Package io.jmix.multitenancyflowui.impl
Class MultitenancyFlowuiSupportImpl
java.lang.Object
io.jmix.multitenancyflowui.impl.MultitenancyFlowuiSupportImpl
- All Implemented Interfaces:
MultitenancyFlowuiSupport
@Component("mten_MultitenancyFlowuiSupport")
public class MultitenancyFlowuiSupportImpl
extends Object
implements MultitenancyFlowuiSupport
Helper for login screen.
-
Field Summary
Modifier and TypeFieldDescriptionprotected final DataManager
protected static final String
protected final Messages
protected final MultitenancyProperties
protected static final String
-
Constructor Summary
ConstructorDescriptionMultitenancyFlowuiSupportImpl
(MultitenancyProperties multitenancyProperties, DataManager dataManager, Messages messages) -
Method Summary
Modifier and TypeMethodDescriptionprotected String
concatUsername
(String username, String tenantId) getUsernameByLocation
(String username, com.vaadin.flow.router.Location location) getUsernameByTenant
(String username, String tenantId)
-
Field Details
-
multitenancyProperties
-
dataManager
-
messages
-
TENANT_USERNAME_SEPARATOR
- See Also:
-
INVALID_TENANT_ID_PARAM_MESSAGE_KEY
- See Also:
-
-
Constructor Details
-
MultitenancyFlowuiSupportImpl
public MultitenancyFlowuiSupportImpl(MultitenancyProperties multitenancyProperties, DataManager dataManager, Messages messages)
-
-
Method Details
-
getUsernameByLocation
- Specified by:
getUsernameByLocation
in interfaceMultitenancyFlowuiSupport
-
getTenantOptions
- Specified by:
getTenantOptions
in interfaceMultitenancyFlowuiSupport
-
getUsernameByTenant
- Specified by:
getUsernameByTenant
in interfaceMultitenancyFlowuiSupport
-
concatUsername
-