Package io.jmix.multitenancyflowui.impl
Class MultitenancyUiSupportImpl
java.lang.Object
io.jmix.multitenancyflowui.impl.MultitenancyUiSupportImpl
- All Implemented Interfaces:
MultitenancyUiSupport
@Component("mten_MultitenancyUiSupport")
public class MultitenancyUiSupportImpl
extends Object
implements MultitenancyUiSupport
Helper for login screen.
-
Field Summary
Modifier and TypeFieldDescriptionprotected final DataManager
protected final Messages
protected final MultitenancyProperties
protected static final String
-
Constructor Summary
ConstructorDescriptionMultitenancyUiSupportImpl
(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:
-
-
Constructor Details
-
MultitenancyUiSupportImpl
public MultitenancyUiSupportImpl(MultitenancyProperties multitenancyProperties, DataManager dataManager, Messages messages)
-
-
Method Details
-
getUsernameByLocation
- Specified by:
getUsernameByLocation
in interfaceMultitenancyUiSupport
-
getTenantOptions
- Specified by:
getTenantOptions
in interfaceMultitenancyUiSupport
-
getUsernameByTenant
- Specified by:
getUsernameByTenant
in interfaceMultitenancyUiSupport
-
concatUsername
-